Class DsaParameters
- Namespace
- Org.BouncyCastle.Crypto.Parameters
- Assembly
- BouncyCastle.Cryptography.dll
public class DsaParameters : ICipherParameters
- Inheritance
-
DsaParameters
- Implements
- Inherited Members
Constructors
DsaParameters(BigInteger, BigInteger, BigInteger)
public DsaParameters(BigInteger p, BigInteger q, BigInteger g)
Parameters
pBigIntegerqBigIntegergBigInteger
DsaParameters(BigInteger, BigInteger, BigInteger, DsaValidationParameters)
public DsaParameters(BigInteger p, BigInteger q, BigInteger g, DsaValidationParameters parameters)
Parameters
pBigIntegerqBigIntegergBigIntegerparametersDsaValidationParameters
Properties
G
public BigInteger G { get; }
Property Value
P
public BigInteger P { get; }
Property Value
Q
public BigInteger Q { get; }
Property Value
ValidationParameters
public DsaValidationParameters ValidationParameters { get; }
Property Value
Methods
Equals(DsaParameters)
protected bool Equals(DsaParameters other)
Parameters
otherDsaParameters
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.