Table of Contents

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

p BigInteger
q BigInteger
g BigInteger

DsaParameters(BigInteger, BigInteger, BigInteger, DsaValidationParameters)

public DsaParameters(BigInteger p, BigInteger q, BigInteger g, DsaValidationParameters parameters)

Parameters

p BigInteger
q BigInteger
g BigInteger
parameters DsaValidationParameters

Properties

G

public BigInteger G { get; }

Property Value

BigInteger

P

public BigInteger P { get; }

Property Value

BigInteger

Q

public BigInteger Q { get; }

Property Value

BigInteger

ValidationParameters

public DsaValidationParameters ValidationParameters { get; }

Property Value

DsaValidationParameters

Methods

Equals(DsaParameters)

protected bool Equals(DsaParameters other)

Parameters

other DsaParameters

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.