Class DHPrivateKeyParameters
- Namespace
- Org.BouncyCastle.Crypto.Parameters
- Assembly
- BouncyCastle.Cryptography.dll
public class DHPrivateKeyParameters : DHKeyParameters, ICipherParameters
- Inheritance
-
DHPrivateKeyParameters
- Implements
- Inherited Members
Constructors
DHPrivateKeyParameters(BigInteger, DHParameters)
public DHPrivateKeyParameters(BigInteger x, DHParameters parameters)
Parameters
xBigIntegerparametersDHParameters
DHPrivateKeyParameters(BigInteger, DHParameters, DerObjectIdentifier)
public DHPrivateKeyParameters(BigInteger x, DHParameters parameters, DerObjectIdentifier algorithmOid)
Parameters
xBigIntegerparametersDHParametersalgorithmOidDerObjectIdentifier
Properties
X
public BigInteger X { get; }
Property Value
Methods
Equals(DHPrivateKeyParameters)
protected bool Equals(DHPrivateKeyParameters other)
Parameters
otherDHPrivateKeyParameters
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.