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