Some test text!

keyboard_arrow_down

Get started

keyboard_arrow_down

Fundamentals

keyboard_arrow_down

Document Viewer

keyboard_arrow_down

Document Viewer components

keyboard_arrow_down

Annotation and collaboration

keyboard_arrow_down

Advanced customization

keyboard_arrow_down

Conversion

keyboard_arrow_down

Parsing and extraction

keyboard_arrow_down

Digital signatures

keyboard_arrow_down

Form filling

keyboard_arrow_down

Search

keyboard_arrow_down

Redaction

keyboard_arrow_down

Advanced topics

keyboard_arrow_down

Other frameworks

keyboard_arrow_down

Reference

keyboard_arrow_down

PDF Processing API

Use digital signature tool

In this document
chevron_rightCustom digital signature tool

The Tools package comes with a basic DigitalSignature tool that allows signing with a specific keystore and password.

The DigitalSignature tool can be used with the UI components such as DocumentActivity and PdfViewCtrlTabHostFragment. You can also use the tool with PDFViewCtrl through ToolManager.

By default, signature tool without signing is used. You can switch to include signing as follows:

The signed signature is then saved to a separate file.

The built-in digital signature tool will continue to improve in the near future.

linkCustom digital signature tool

It is possible to create your own digital signature tool and use it instead of any of the built-in signature tools.

The detailed tutorial can be found here: create a new tool.

The easiest way is to extend the DigitalSignature class and override the signPdf function.

When the tool is ready, you can add it to the custom tool pairing:

Then use the toolManagerBuilder either to build a ToolManager or use directly in ViewerConfig.