SignatureOptions

SignatureOptions

Overview

SignatureOptions is a class in Aspose.PDF FOSS for .NET.

Options for signing a PDF document.

Properties: AvoidEstimating, ContactInfo, ContentsSize, CustomSignHash, DocMdpPermissions, FieldName, and 7 more.

Properties

NameTypeAccessDescription
Reasonstring?Read/WriteThe reason for signing.
Locationstring?Read/WriteThe location of signing.
ContactInfostring?Read/WriteContact information of the signer.
FieldNamestring?Read/WriteThe signature field name.
SignerNamestring?Read/WriteThe signer’s name (maps to signature dict /Name).
Passwordstring?Read/WritePassword for an encrypted input document, so the signer can re-open the raw (still-encrypted) bytes to read its structure and append the incremental signature update.
SubFilterstringRead/WriteThe /SubFilter (signature-handler) name written to the signature dictionary.
SigningDateDateTime?Read/WriteThe signing date (maps to signature dict /M).
ContentsSizeintRead/WriteSize in bytes reserved for the /Contents hex string.
AvoidEstimatingboolRead/WriteWhen true, the signer skips an estimation pass and uses ContentsSize directly.
CustomSignHashForms.SignHash?Read/WriteExternal-signer callback.
UseLtvboolRead/WriteWhen true, enable long-term validation: the signer writes a DSS (Document Security Store, ISO 32000-2 §12.8.4.3) entry into the catalog carrying the signer certificate chain, so the signature stays verifiable after the signing certificate expires.
DocMdpPermissionsint?Read/WriteWhen set, produce a certifying (author) signature: a /DocMDP SigRef with this /P access-permission level (1/2/3, ISO 32000-1 §12.8.2.2) is written into the signature dictionary before signing and a catalog /Perms /DocMDP entry points at it.

See Also

 English