DigitalSignatureOptions

public final class DigitalSignatureOptions

Options for creating a digital signature on a PDF document. A digital signature requires a certificate (PFX/P12 file) to cryptographically sign the document. Additional metadata such as signer name, reason, and location can optionally be included. For PAdES-T compliance, configure a to include a trusted timestamp.

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
The password to decrypt the PFX/P12 certificate file.
Link copied to clipboard
public final String getCertificatePath()
The file path to the PFX/P12 certificate file.
Link copied to clipboard
public final String getContactInfo()
Contact information for the signer.
Link copied to clipboard
public final SignatureHashAlgorithm getHashAlgorithm()
The hash algorithm to use for the signature.
Link copied to clipboard
public final String getLocation()
The location where the document was signed.
Link copied to clipboard
public final String getReason()
The reason for signing the document.
Link copied to clipboard
public final String getSignerName()
The name of the person or entity signing the document.
Link copied to clipboard
Optional timestamp configuration for PAdES-T compliance.
Link copied to clipboard
public final void setCertificatePassword(String value)
The password to decrypt the PFX/P12 certificate file.
Link copied to clipboard
public final void setCertificatePath(String value)
The file path to the PFX/P12 certificate file.
Link copied to clipboard
public final void setContactInfo(String value)
Contact information for the signer.
Link copied to clipboard
public final void setHashAlgorithm(SignatureHashAlgorithm value)
The hash algorithm to use for the signature.
Link copied to clipboard
public final void setLocation(String value)
The location where the document was signed.
Link copied to clipboard
public final void setReason(String value)
The reason for signing the document.
Link copied to clipboard
public final void setSignerName(String value)
The name of the person or entity signing the document.
Link copied to clipboard
public final void setTimestamp(TimestampConfiguration value)
Optional timestamp configuration for PAdES-T compliance.