com.pspdfkit.signatures.signers.PrivateKeySigner.OnPrivateKeyLoadedCallback |
Callback for subclasses to provide the private key used for signing.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
onPrivateKeyLoaded(KeyStore.PrivateKeyEntry privateKey)
Subclasses have to call this method once they successfully loaded the private key for
signing.
|
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.
privateKey | KeyStore.PrivateKeyEntry in the PKCS#8 or PKCS#1 (either raw
ASN.1 BER encoded or PEM) format.
|
---|