| Modifier and Type | Field and Description |
|---|---|
| private final Digest | |
| private final DSA | |
| private final DSAEncoding | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | generateSignature()
Implements org. Generate a signature for the message we've been loaded with using the key we were initialised with. |
| protected BigInteger | |
| public void | init(boolean
true if for signing, false otherwise forSigning, CipherParameters necessary parameters. parameters)Implements org. Initialise the signer for signing or verification. |
| public void | |
| public void | update(byte input)
Implements org. update the internal digest with the byte b |
| public void | update(byte[] input, int inOff, int length)
Implements org. update the internal digest with the byte array in |
| public boolean | verifySignature(byte[] signature)
Implements org. return true if the internal state represents the signature described in the passed in array. |
| digest | back to summary |
|---|---|
| private final Digest digest | |
| dsa | back to summary |
|---|---|
| private final DSA dsa | |
| encoding | back to summary |
|---|---|
| private final DSAEncoding encoding | |
| forSigning | back to summary |
|---|---|
| private boolean forSigning | |
| DSADigestSigner | back to summary |
|---|---|
| public DSADigestSigner(DSA dsa, Digest digest) | |
| DSADigestSigner | back to summary |
|---|---|
| public DSADigestSigner(DSAExt dsa, Digest digest, DSAEncoding encoding) | |
| generateSignature | back to summary |
|---|---|
| public byte[] generateSignature() Implements org. Generate a signature for the message we've been loaded with using the key we were initialised with. | |
| getOrder | back to summary |
|---|---|
| protected BigInteger getOrder() | |
| init | back to summary |
|---|---|
| public void init(boolean forSigning, CipherParameters parameters) 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 input) Implements org. update the internal digest with the byte b | |
| update | back to summary |
|---|---|
| public void update(byte[] input, int inOff, int length) Implements org. update the internal digest with the byte array in | |
| verifySignature | back to summary |
|---|---|
| public boolean verifySignature(byte[] signature) Implements org. Doc from org. return true if the internal state represents the signature described in the passed in array. | |