protected static interface

PrivateKeySigner.OnPrivateKeyLoadedCallback

com.pspdfkit.signatures.signers.PrivateKeySigner.OnPrivateKeyLoadedCallback

Class Overview

Callback for subclasses to provide the private key used for signing.

Summary

Public Methods
abstract void onPrivateKeyLoaded(KeyStore.PrivateKeyEntry privateKey)
Subclasses have to call this method once they successfully loaded the private key for signing.

Public Methods

public abstract void onPrivateKeyLoaded (KeyStore.PrivateKeyEntry privateKey)

Subclasses have to call this method once they successfully loaded the private key for signing. The returned key has to be in PKCS#8 or PKCS#1 format or signing will fail.

Parameters
privateKey KeyStore.PrivateKeyEntry in the PKCS#8 or PKCS#1 (either raw ASN.1 BER encoded or PEM) format.