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.
from nutrient_sdk import DigitalSignatureOptionsConstruction
DigitalSignatureOptions()Creates a new DigitalSignatureOptions instance with default settings.
Properties
certificate_password
@propertydef certificate_password(self) -> str
@certificate_password.setterdef certificate_password(self, value: str) -> NoneThe password to decrypt the PFX/P12 certificate file.
Type: str
certificate_path
@propertydef certificate_path(self) -> str
@certificate_path.setterdef certificate_path(self, value: str) -> NoneThe file path to the PFX/P12 certificate file.
Type: str
contact_info
@propertydef contact_info(self) -> str
@contact_info.setterdef contact_info(self, value: str) -> NoneContact information for the signer.
Type: str
hash_algorithm
@propertydef hash_algorithm(self) -> SignatureHashAlgorithm
@hash_algorithm.setterdef hash_algorithm(self, value: SignatureHashAlgorithm) -> NoneThe hash algorithm to use for the signature.
Type: SignatureHashAlgorithm
location
@propertydef location(self) -> str
@location.setterdef location(self, value: str) -> NoneThe location where the document was signed.
Type: str
reason
@propertydef reason(self) -> str
@reason.setterdef reason(self, value: str) -> NoneThe reason for signing the document.
Type: str
signer_name
@propertydef signer_name(self) -> str
@signer_name.setterdef signer_name(self, value: str) -> NoneThe name of the person or entity signing the document.
Type: str
timestamp
@propertydef timestamp(self) -> TimestampConfiguration
@timestamp.setterdef timestamp(self, value: TimestampConfiguration) -> NoneOptional timestamp configuration for PAdES-T compliance.
Type: TimestampConfiguration