| Constructor and Description | 
|---|
DSTU4145Signer()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected ECMultiplier | 
createBasePointMultiplier()  | 
java.math.BigInteger[] | 
generateSignature(byte[] message)
sign the passed in message (usually the output of a hash function). 
 | 
void | 
init(boolean forSigning,
    CipherParameters param)
initialise the signer for signature generation or signature
 verification. 
 | 
boolean | 
verifySignature(byte[] message,
               java.math.BigInteger r,
               java.math.BigInteger s)
verify the message message against the signature values r and s. 
 | 
public void init(boolean forSigning,
                 CipherParameters param)
DSApublic java.math.BigInteger[] generateSignature(byte[] message)
DSAgenerateSignature in interface DSAmessage - the message to be signed.public boolean verifySignature(byte[] message,
                               java.math.BigInteger r,
                               java.math.BigInteger s)
DSAverifySignature in interface DSAmessage - the message that was supposed to have been signed.r - the r signature value.s - the s signature value.protected ECMultiplier createBasePointMultiplier()