Builder
A helper class used for building the SignerOptions.
Functions
Build the SignerOptions object from the provided properties.
Optionally add the certificates in the chain used for signing. If empty, we will get them from the private key set in setPrivateKey
Enable or disable embedding Long-Term-Validation (LTV) in the signature which upgrades signature to PAdES B-LT. LTV will check each certificate for validity and if successful will keep that information in the document. LTV information can also be added later using com.pspdfkit.document.PdfDocument.addLongTermValidation. Note, enabling LTV may result in an HTTP network call which may result in you needing to enable the use of cleartext traffic in your app.
Optionally setPrivateKey inserts Private key for signing PDF. Use this if you want PSPDFKit to do the document signing. Otherwise you need to overwrite the custom signing lambda in SigningManager.signDocument
DigitalSignatureMetadata that contains additional metadata to add to the signature.