| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private final Digest | |
| private final MessageSigner |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | Returns: the signature of the message.Implements org. |
| public void | init(boolean
true if for signing, false otherwise forSigning, CipherParameters necessary parameters. param)Implements org. |
| public void | |
| public void | update(byte b)
Implements org. |
| public void | update(byte[] in, int off, int len)
Implements org. |
| public boolean | Returns: true if the signature has been verified, false otherwise.the signature of the message is given as a byte array. signature)Implements org. |
| forSigning | back to summary |
|---|---|
| private boolean forSigning | |
| messDigest | back to summary |
|---|---|
| private final Digest messDigest | |
| messSigner | back to summary |
|---|---|
| private final MessageSigner messSigner | |
| DigestingMessageSigner | back to summary |
|---|---|
| public DigestingMessageSigner(MessageSigner messSigner, Digest messDigest) | |
| generateSignature | back to summary |
|---|---|
| public byte[] generateSignature() Implements org. This function signs the message that has been updated, making use of the private key.
| |
| init | back to summary |
|---|---|
| public void init(boolean forSigning, CipherParameters param) Implements org. Doc from org. Initialise the signer for signing or verification.
| |
| reset | back to summary |
|---|---|
| public void reset() Implements org. Doc from org. reset the internal state | |
| update | back to summary |
|---|---|
| public void update(byte b) Implements org. Doc from org. update the internal digest with the byte b | |
| update | back to summary |
|---|---|
| public void update(byte[] in, int off, int len) Implements org. Doc from org. update the internal digest with the byte array in | |
| verifySignature | back to summary |
|---|---|
| public boolean verifySignature(byte[] signature) Implements org. This function verifies the signature of the message that has been updated, with the aid of the public key.
| |