| Constructor | Description |
|---|---|
DSADigestSigner(DSA signer,
Digest digest) |
| Modifier and Type | Method | Description |
|---|---|---|
byte[] |
generateSignature() |
Generate a signature for the message we've been loaded with using
the key we were initialised with.
|
void |
init(boolean forSigning,
CipherParameters parameters) |
Initialise the signer for signing or verification.
|
void |
reset() |
reset the internal state
|
void |
update(byte input) |
update the internal digest with the byte b
|
void |
update(byte[] input,
int inOff,
int length) |
update the internal digest with the byte array in
|
boolean |
verifySignature(byte[] signature) |
return true if the internal state represents the signature described
in the passed in array.
|
public void init(boolean forSigning,
CipherParameters parameters)
Signerpublic void update(byte input)
public void update(byte[] input,
int inOff,
int length)
public byte[] generateSignature()
generateSignature in interface Signerpublic boolean verifySignature(byte[] signature)
SignerverifySignature in interface Signer