- privateKey
- the private key.
- random
- the SecureRandom to use.
Type Reason Java.Security.InvalidKeyException if privateKey is not valid.
Initializes this Signature instance for signing, using the private key of the identity whose signature is going to be generated and the specified source of randomness.