Table of Contents

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

isPrivate bool
parameters DHParameters

DHKeyParameters(bool, DHParameters, DerObjectIdentifier)

protected DHKeyParameters(bool isPrivate, DHParameters parameters, DerObjectIdentifier algorithmOid)

Parameters

isPrivate bool
parameters DHParameters
algorithmOid DerObjectIdentifier

Properties

AlgorithmOid

public DerObjectIdentifier AlgorithmOid { get; }

Property Value

DerObjectIdentifier

Parameters

public DHParameters Parameters { get; }

Property Value

DHParameters

Methods

Equals(DHKeyParameters)

protected bool Equals(DHKeyParameters other)

Parameters

other DHKeyParameters

Returns

bool

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.