Table of Contents

Class DHGroup

Namespace
Org.BouncyCastle.Tls.Crypto
Assembly
BouncyCastle.Cryptography.dll

Carrier class for Diffie-Hellman group parameters.

public class DHGroup
Inheritance
DHGroup
Inherited Members

Constructors

DHGroup(BigInteger, BigInteger, BigInteger, int)

Base constructor with the prime factor of (p - 1).

public DHGroup(BigInteger p, BigInteger q, BigInteger g, int l)

Parameters

p BigInteger

the prime modulus.

q BigInteger

specifies the prime factor of (p - 1).

g BigInteger

the base generator.

l int

Properties

G

public virtual BigInteger G { get; }

Property Value

BigInteger

L

public virtual int L { get; }

Property Value

int

P

public virtual BigInteger P { get; }

Property Value

BigInteger

Q

public virtual BigInteger Q { get; }

Property Value

BigInteger