Class DhParameters
java.lang.Object
org.bouncycastle.crypto.internal.params.DhParameters
- All Implemented Interfaces:
CipherParameters
-
Constructor Summary
ConstructorsConstructorDescriptionDhParameters(BigInteger p, BigInteger g, BigInteger q) DhParameters(BigInteger p, BigInteger g, BigInteger q, int m, int l, BigInteger j) DhParameters(BigInteger p, BigInteger g, BigInteger q, BigInteger j) -
Method Summary
-
Constructor Details
-
DhParameters
-
DhParameters
-
DhParameters
-
-
Method Details
-
getP
-
getG
-
getQ
-
getJ
Return the subgroup factor J.- Returns:
- subgroup factor
-
getM
public int getM()Return the minimum length of the private value.- Returns:
- the minimum length of the private value in bits.
-
getL
public int getL()Return the private value length in bits - if set, zero otherwise- Returns:
- the private value length in bits, zero otherwise.
-
equals
-
hashCode
public int hashCode()
-