| Modifier and Type | Method and Description |
|---|---|
| public BigInteger[] | Returns: two big integers representing the r and s values respectively.the 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, BigInteger the r signature value. r, BigInteger the s signature value. s)verify the message message against the signature values r and s. |
| generateSignature | back to summary |
|---|---|
| public BigInteger[] 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, BigInteger r, BigInteger s) verify the message message against the signature values r and s.
| |