With the latest release (v5.0.15), users can now view embedded digital certificates within PDF files. This enhancement brings greater transparency and trust to document verification workflows.
What’s New?
A new “View Certificates” button has been introduced in the PDF viewer interface. When clicked, it opens a panel displaying all digital certificates embedded in the PDF.
Certificate Details Displayed
Once the panel is open, users can view the following information for each certificate:
- Name
- Reason
- Signing Date
- Contact Information
- Location
Certificate Panel Preview
If the PDF contains multiple certificates, they are displayed in a tabbed layout within the panel. Each tab corresponds to a different certificate, making it easy to navigate and review each one individually.
Configuration Option
Control the visibility of the ‘View Certificates’ button using a simple HTML parameter:
To hide the 'View Certificates' button
enableDigitalCertificates = false
To show the 'View Certificates' button (default behavior)
enableDigitalCertificates = true
Note: When this parameter is not explicitly set, the button is visible by default if the PDF contains certificates.
JavaScript API Access
Developers can now programmatically access embedded certificates using the new asynchronous JavaScript API. This function fetches the certificates and triggers the appropriate callback method based on the result.
Example:
viewer.getDigitalCertificates(callback)
Key Benefits
- Legal and compliance teams verifying document authenticity
- Enterprise workflows requiring digital signature validation
- Developers building secure document handling features
IBM Documentation Reference: https://www.ibm.com/docs/en/daeja-viewone/5.0.x?topic=viewer-viewing-digital-certificates-pdf-documents
Co-author: Jeffrey Dare