| Modifier and Type | Method and Description |
|---|---|
| public byte[] | generateSignature()
generate a signature for the message we've been loaded with using the key we were initialised with. |
| public void | init(boolean
true if for signing, false otherwise forSigning, CipherParameters necessary parameters. param)Initialise the signer for signing or verification. |
| public void | |
| public void | |
| public void | |
| public boolean | verifySignature(byte[] signature)
return true if the internal state represents the signature described in the passed in array. |
| generateSignature | back to summary |
|---|---|
| public byte[] generateSignature() throws CryptoException, DataLengthException generate a signature for the message we've been loaded with using the key we were initialised with. | |
| init | back to summary |
|---|---|
| public void init(boolean forSigning, CipherParameters param) Initialise the signer for signing or verification.
| |
| reset | back to summary |
|---|---|
| public void reset() reset the internal state | |
| update | back to summary |
|---|---|
| public void update(byte b) update the internal digest with the byte b | |
| update | back to summary |
|---|---|
| public void update(byte[] in, int off, int len) update the internal digest with the byte array in | |
| verifySignature | back to summary |
|---|---|
| public boolean verifySignature(byte[] signature) return true if the internal state represents the signature described in the passed in array. | |