| Constructor and Description |
|---|
DSTU4145Signer() |
| Modifier and Type | Method and Description |
|---|---|
protected ECMultiplier |
createBasePointMultiplier() |
BigInteger[] |
generateSignature(byte[] message)
sign the passed in message (usually the output of a hash function).
|
BigInteger |
getOrder()
Get the order of the group that the r, s values in signatures belong to.
|
void |
init(boolean forSigning,
CipherParameters param)
initialise the signer for signature generation or signature
verification.
|
boolean |
verifySignature(byte[] message,
BigInteger r,
BigInteger s)
verify the message message against the signature values r and s.
|
public void init(boolean forSigning,
CipherParameters param)
DSApublic BigInteger getOrder()
DSAExtpublic BigInteger[] generateSignature(byte[] message)
DSAgenerateSignature in interface DSAmessage - the message to be signed.public boolean verifySignature(byte[] message,
BigInteger r,
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()
Copyright © 2015–2021 The veraPDF Consortium. All rights reserved.