Some test text!

menu
Signature tool (Android)keyboard_arrow_down

Digital Signature Tool

PDFTron SDK for Xamarin.Android provides a the functionality to add digital signatures with UI.

Using digital signature tool in Xamarin

This tutorial only applies to Xamarin.Android.
For Android, available in the full version of the library only. See PDFTron full or standard?

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.

digital signature

By default, the signature tool does not sign with a certificate. Certificate-based signatures can be enabled using ToolManagerBuilder which will add a certificate picker and password input field to the signature UI flow.

Alternatively you can define a certificate file and password in ToolManagerBuilder. This will disable the additional signing flow for digital signatures and use the specified certificate instead.

var tmBuilder = ToolManagerBuilder.From()
  .SetUseDigitalSignature(true)
  // Optionally specify a default certificate file and password
  .SetDigitalSignatureKeystorePath("my_keystore_path")
  .SetDigitalSignatureKeystorePassword("my_keystore_password")
var builder = ViewerConfig.Builder()
var config = builder
  //...
  .ToolManagerBuilder(tmBuilder)
  .Build()

The signed document is then saved to a separate file.

Get the answers you need: Support

close

Free Trial

Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.

Select a platform to get started with your free trial.

Unlimited usage. No email address required.

Join our live demo to learn about use cases & capabilities for WebViewer

Learn more
close