Click or drag to resize

DigitalSignatureFieldCreateSigDictForCustomCertification Method

Prepares the field for certification without actually performing certification. Useful for custom signing workflows. It is not necessary to call HasCryptographicSignature before calling this function.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public void CreateSigDictForCustomCertification(
	string in_filter_name,
	DigitalSignatureFieldSubFilterType in_subfilter_type,
	uint in_contents_size_to_reserve
)

Parameters

in_filter_name
Type: SystemString
the Filter name to use, representing the name of the signature handler that will be used to sign and verify the signature (e.g. Adobe.PPKLite)
in_subfilter_type
Type: pdftron.PDFDigitalSignatureFieldSubFilterType
the SubFilter name to use, representing an interoperable signature type identifier for third-party verification (e.g. adbe.pkcs7.detached, ETSI.CAdES.detached, etc.)
in_contents_size_to_reserve
Type: SystemUInt32
The size of the empty Contents entry to create. For security reasons, set the contents size to a value greater than but as close as possible to the size you expect your final signature to be.
See Also