| Modifier and Type | Field and Description |
|---|---|
| private final HMac | |
| private final byte[] | |
| private BigInteger | |
| private final byte[] | |
| private static final BigInteger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private BigInteger | |
| public void | init(BigInteger
the order of the DSA group. n, SecureRandom a source of randomness. random)Implements org. |
| public void | init(BigInteger
the order of the DSA group. n, BigInteger the DSA private value. d, byte[] the message being signed. message)Implements org. |
| public boolean | isDeterministic()
Implements org. |
| public BigInteger | nextK()
Implements org. |
| hMac | back to summary |
|---|---|
| private final HMac hMac | |
| K | back to summary |
|---|---|
| private final byte[] K | |
| n | back to summary |
|---|---|
| private BigInteger n | |
| V | back to summary |
|---|---|
| private final byte[] V | |
| ZERO | back to summary |
|---|---|
| private static final BigInteger ZERO | |
| HMacDsaKCalculator | back to summary |
|---|---|
| public HMacDsaKCalculator(Digest digest) Base constructor.
| |
| bitsToInt | back to summary |
|---|---|
| private BigInteger bitsToInt(byte[] t) | |
| init | back to summary |
|---|---|
| public void init(BigInteger n, SecureRandom random) Implements org. Doc from org. Non-deterministic initialiser.
| |
| init | back to summary |
|---|---|
| public void init(BigInteger n, BigInteger d, byte[] message) Implements org. Doc from org. Deterministic initialiser.
| |
| isDeterministic | back to summary |
|---|---|
| public boolean isDeterministic() Implements org. Doc from org. Return true if this calculator is deterministic, false otherwise.
| |
| nextK | back to summary |
|---|---|
| public BigInteger nextK() Implements org. Doc from org. Return the next valid value of K.
| |