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
| Name | Type | Access | Description |
|---|---|---|---|
Reason | string? | Read/Write | The reason for signing. |
Location | string? | Read/Write | The location of signing. |
ContactInfo | string? | Read/Write | Contact information of the signer. |
FieldName | string? | Read/Write | The signature field name. |
SignerName | string? | Read/Write | The signer’s name (maps to signature dict /Name). |
Password | string? | Read/Write | Password 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. |
SubFilter | string | Read/Write | The /SubFilter (signature-handler) name written to the signature dictionary. |
SigningDate | DateTime? | Read/Write | The signing date (maps to signature dict /M). |
ContentsSize | int | Read/Write | Size in bytes reserved for the /Contents hex string. |
AvoidEstimating | bool | Read/Write | When true, the signer skips an estimation pass and uses ContentsSize directly. |
CustomSignHash | Forms.SignHash? | Read/Write | External-signer callback. |
UseLtv | bool | Read/Write | When 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. |
DocMdpPermissions | int? | Read/Write | When 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. |