Table of Contents

Class ElGamalPrivateKeyParameters

Namespace
Org.BouncyCastle.Crypto.Parameters
Assembly
BouncyCastle.Cryptography.dll
public class ElGamalPrivateKeyParameters : ElGamalKeyParameters, ICipherParameters
Inheritance
ElGamalPrivateKeyParameters
Implements
Inherited Members

Constructors

ElGamalPrivateKeyParameters(BigInteger, ElGamalParameters)

public ElGamalPrivateKeyParameters(BigInteger x, ElGamalParameters parameters)

Parameters

x BigInteger
parameters ElGamalParameters

Properties

X

public BigInteger X { get; }

Property Value

BigInteger

Methods

Equals(ElGamalPrivateKeyParameters)

protected bool Equals(ElGamalPrivateKeyParameters other)

Parameters

other ElGamalPrivateKeyParameters

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.