Digital Signature Info
A digital signature stored inside a PDF document. This can be retrieved by calling SignatureFormField.signatureInfo. As a convenience to check the signing status of a document, you can retrieve the DocumentSignatureInfo by calling com.pspdfkit.document.PdfDocument.getDocumentSignatureInfoAsync.
Parameters
Index of the signed com.pspdfkit.document.DocumentSource of the signed compound document. A signature can only sign a single data source.
Constructors
Types
Keys for the BuildData entries returned by buildProperties.
List of possible transformation methods of a Reference.
Properties
Map of build properties of this signature. Keys will be one of BUILD_DATA_APP_KEY, BUILD_DATA_FILTER_KEY, BUILD_DATA_PUB_SEC_KEY, BUILD_DATA_SIGQ_KEY.
Range of bytes this signature covers. Signatures cover two parts of a document: the part before the signature and the part after the signature. This will contain four elements: offset_of_part_before_signature, length_of_part_before_signature, offset_of_part_after_signature, length_of_part_after_signature.
Creation date of this signature in the UTC timezone, or null if none is stored.
The PdfDocument with which this signature info is associated.
List of signature reference dictionaries. These references contain object digest results and information about how they were computed, and can be used to verify the integrity of specific parts of the document. Empty if no references exist.
Functions
Checks the actual validity of the signature and returns a DigitalSignatureValidationResult. This check will use certificates from TrustedKeyStore for validating the certificate of this signature and will also check for integrity issues. This function is main-safe: it suspends and runs the validation work on kotlinx.coroutines.Dispatchers.IO internally.