Class DHKeyParameters
- Namespace
- Org.BouncyCastle.Crypto.Parameters
- Assembly
- BouncyCastle.Cryptography.dll
public class DHKeyParameters : AsymmetricKeyParameter, ICipherParameters
- Inheritance
-
DHKeyParameters
- Implements
- Derived
- Inherited Members
Constructors
DHKeyParameters(bool, DHParameters)
protected DHKeyParameters(bool isPrivate, DHParameters parameters)
Parameters
isPrivateboolparametersDHParameters
DHKeyParameters(bool, DHParameters, DerObjectIdentifier)
protected DHKeyParameters(bool isPrivate, DHParameters parameters, DerObjectIdentifier algorithmOid)
Parameters
isPrivateboolparametersDHParametersalgorithmOidDerObjectIdentifier
Properties
AlgorithmOid
public DerObjectIdentifier AlgorithmOid { get; }
Property Value
Parameters
public DHParameters Parameters { get; }
Property Value
Methods
Equals(DHKeyParameters)
protected bool Equals(DHKeyParameters other)
Parameters
otherDHKeyParameters
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.