Signature.initSign
Class Overview | Class Members |
This Package |
All Packages
public final void initSign( PrivateKey privateKey ) throws InvalidKeyException
Parameters
- privateKey
- the private key of the identity whose signature
is going to be generated.
Description
Initialize this object for signing. If this method is called
again with a different argument, it negates the effect
of this call.
Exceptions
InvalidKeyException
if the key is invalid.