Some test text!

Loading...
Guides
Digital Signature Validation

Digital Signature Validation in Android

You can validate signatures in signed documents by verifying signers using the DigitalSignatureListDialog.

digital-signature-validation-dialog

Adding a trusted certificate

Before you can verify signatures in `DigitalSignatureListDialog`, you will need to add your self-signed certificate to the store of trusted certificates using the `DigitalSignatureUtils.addCertificate(Context, File)` method. Certificates added this way will be stored internally and referenced by `DigitalSignatureListDialog` when validating your signatures.

Validating digital signatures

To verify your digital signatures, you can show the DigitalSignatureListDialog using the code below:

private static void showDigitalSignatureList(ToolManager toolManager, PDFViewCtrl pdfViewCtrl, FragmentManager fragmentManager) {
    DigitalSignatureListDialog dialog = DigitalSignatureListDialog.newInstance();
    dialog.setStyle(DialogFragment.STYLE_NO_TITLE, toolManager.getTheme());
    dialog.setPDFViewCtrl(pdfViewCtrl);
    dialog.show(fragmentManager, "digital_sig_list_dialog");
}

In this list, you will be able to view digital signature information such as the signer's name, time of signing, signature validity, etc. Additionally you can tap on Signature Properties to view additional signature details.

digital-signature-validation-properties

Get the answers you need: Support

Upcoming Webinar: PDFTron SDK Tech Review | Nov 29, 2022 at 2 pm ET

PDFTron SDK

The Platform

NEW

© 2022 PDFTron Systems Inc. All rights reserved.

Privacy

Terms of Use