sign Method
Signs a PDF document.
Syntax
def sign() -> None: ...
Remarks
Call this method to sign the document referenced by input_file (or input_stream) property. The document will be signed with signing_certificate as configured in signature, and saved in output_file (output_stream).
Use trusted_certificates, known_certificates, revocation_check, offline_mode and other properties of class to adjust chain validation parameters. After the signing, the chain validation log will be available in validation_log property.