Package org.bouncycastle.tls.crypto
Class DHGroup
java.lang.Object
org.bouncycastle.tls.crypto.DHGroup
Carrier class for Diffie-Hellman group parameters.
-
Constructor Summary
ConstructorDescriptionDHGroup
(BigInteger p, BigInteger q, BigInteger g, int l) Base constructor with the prime factor of (p - 1). -
Method Summary
-
Constructor Details
-
DHGroup
Base constructor with the prime factor of (p - 1).- Parameters:
p
- the prime modulus.q
- specifies the prime factor of (p - 1).g
- the base generator.
-
-
Method Details
-
getG
-
getL
public int getL() -
getP
-
getQ
-