|
Bouncy Castle Cryptography Library 1.77.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface define calculators of K values for DSA/ECDSA.
Method Summary | |
void |
init(java.math.BigInteger n,
java.math.BigInteger d,
byte[] message)
Deterministic initialiser. |
void |
init(java.math.BigInteger n,
java.security.SecureRandom random)
Non-deterministic initialiser. |
boolean |
isDeterministic()
Return true if this calculator is deterministic, false otherwise. |
java.math.BigInteger |
nextK()
Return the next valid value of K. |
Method Detail |
public boolean isDeterministic()
public void init(java.math.BigInteger n, java.security.SecureRandom random)
n
- the order of the DSA group.random
- a source of randomness.public void init(java.math.BigInteger n, java.math.BigInteger d, byte[] message)
n
- the order of the DSA group.d
- the DSA private value.message
- the message being signed.public java.math.BigInteger nextK()
|
Bouncy Castle Cryptography Library 1.77.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |