Class RandomDsaKCalculator
- Namespace
- Org.BouncyCastle.Crypto.Signers
- Assembly
- BouncyCastle.Cryptography.dll
public class RandomDsaKCalculator : IDsaKCalculator
- Inheritance
-
RandomDsaKCalculator
- Implements
- Inherited Members
Properties
IsDeterministic
Return true if this calculator is deterministic, false otherwise.
@return true if deterministic, otherwise false.
public virtual bool IsDeterministic { get; }
Property Value
Methods
Init(BigInteger, BigInteger, byte[])
Deterministic initialiser.
@param n the order of the DSA group. @param d the DSA private value. @param message the message being signed.
public virtual void Init(BigInteger n, BigInteger d, byte[] message)
Parameters
nBigIntegerdBigIntegermessagebyte[]
Init(BigInteger, SecureRandom)
Non-deterministic initialiser.
@param n the order of the DSA group. @param random a source of randomness.
public virtual void Init(BigInteger n, SecureRandom random)
Parameters
nBigIntegerrandomSecureRandom
NextK()
Return the next valid value of K.
@return a K value.
public virtual BigInteger NextK()