Signer that uses a given KeyStore.PrivateKeyEntry to sign documents.
Create the memory signer. Required parameters are the
displayName and the
signingKeyPair (a KeyStore.PrivateKeyEntry instance).
||Name of this signer to be used for UI display.
||Key pair which is used to sign the document. It has to contain both a
certificate and a private key. Use
loadPrivateKeyFromFile(File, String, String, String) to load a KeyStore.PrivateKeyEntry from a PKCS#12 file.
KeyStore.PrivateKeyEntry used by this signer. Subclasses have to override
this and have to make sure to call the provided
private key is ready. The method might be called with a LoadingFeedbackListener which
should be used by the implementation to notify of important events (e.g. password required,
key loading complete, etc.).
||An optional password that should be used to load the private key.
||A LoadingFeedbackListener to be notified of important loading
||An OnPrivateKeyLoadedCallback that should be called
once the private key has been loaded.