| Modifier and Type | Method and Description |
|---|---|
| public byte[] | Returns: the signature of the messagethe message to be signed. message)sign the passed in message (usually the output of a hash function). |
| public void | init(boolean
true if we are generating a signature, false
otherwise. forSigning, CipherParameters key parameters for signature generation. param)initialise the signer for signature generation or signature verification. |
| public boolean | verifySignature(byte[]
the message that was supposed to have been signed. message, byte[] the signature of the message signature)verify the message message against the signature value. |
| generateSignature | back to summary |
|---|---|
| public byte[] generateSignature(byte[] message) sign the passed in message (usually the output of a hash function).
| |
| init | back to summary |
|---|---|
| public void init(boolean forSigning, CipherParameters param) initialise the signer for signature generation or signature verification.
| |
| verifySignature | back to summary |
|---|---|
| public boolean verifySignature(byte[] message, byte[] signature) verify the message message against the signature value.
| |