Builder

class Builder(signatureFormField: SignatureFormField, outputFile: Uri)

A helper class used for building the SignerOptions.

Constructors

Link copied to clipboard
constructor(signatureFormField: SignatureFormField, outputFile: Uri)

Functions

Link copied to clipboard

Build the SignerOptions object from the provided properties.

Link copied to clipboard

Optionally add the certificates in the chain used for signing. If empty, we will get them from the private key set in setPrivateKey

Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard

DigitalSignatureMetadata that contains additional metadata to add to the signature.