public interface DSAKCalculator
| Modifier and Type | Method and Description |
|---|---|
void |
init(BigInteger n,
BigInteger d,
byte[] message)
Deterministic initialiser.
|
void |
init(BigInteger n,
SecureRandom random)
Non-deterministic initialiser.
|
boolean |
isDeterministic()
Return true if this calculator is deterministic, false otherwise.
|
BigInteger |
nextK()
Return the next valid value of K.
|
boolean isDeterministic()
void init(BigInteger n, SecureRandom random)
n - the order of the DSA group.random - a source of randomness.void init(BigInteger n, BigInteger d, byte[] message)
n - the order of the DSA group.d - the DSA private value.message - the message being signed.BigInteger nextK()
Copyright © 2015–2020 The veraPDF Consortium. All rights reserved.