Signer.setKeyPair
Class Overview | Class Members |
This Package |
All Packages
public final void setKeyPair( KeyPair pair ) throws InvalidParameterException, KeyException
Parameters
- pair
- an initialized key pair.
Description
Sets the key pair (public key and private key) for this signer.
Exceptions
InvalidParameterException
if the key pair is not
properly initialized.
Exceptions
KeyException
if the key pair cannot be set for any
other reason.