protected static interface

Signer.OnSigningParametersReadyCallback

com.pspdfkit.signatures.signers.Signer.OnSigningParametersReadyCallback

Class Overview

Callback passed to prepareSigningParameters(OnSigningParametersReadyCallback) whenever a signing process was initiated and the signer needs to load its SignatureProvider. If the implementation requires the user to input data before the SignatureProvider can be created (for example a password, or interaction with a TAN devices or card reader) the Signer can perform this operation before calling the method of this callback.

Summary

Public Methods
abstract void onSigningParametersReady(SignatureProvider signatureProvider, X509Certificate certificate)
Called by the implementation to hand back ready-to-use signing parameters.

Public Methods

public abstract void onSigningParametersReady (SignatureProvider signatureProvider, X509Certificate certificate)

Called by the implementation to hand back ready-to-use signing parameters. After calling this method, Signer will finish the signature process using the signature provider and X.509 certificate.

Parameters
signatureProvider SignatureProvider ready to sign data on the document.
certificate X509Certificate that will be embedded to the signed PDF document.