org.bouncycastle.crypto.params
public class DHParameters extends Object implements CipherParameters
Constructor Summary | |
---|---|
DHParameters(BigInteger p, BigInteger g) | |
DHParameters(BigInteger p, BigInteger g, BigInteger q) | |
DHParameters(BigInteger p, BigInteger g, BigInteger q, int j) | |
DHParameters(BigInteger p, BigInteger g, BigInteger q, int j, DHValidationParameters validation) |
Method Summary | |
---|---|
boolean | equals(Object obj) |
BigInteger | getG() |
int | getJ()
Return the private value length in bits - if set, zero otherwise (use bitLength(P) - 1).
|
BigInteger | getP() |
BigInteger | getQ() |
DHValidationParameters | getValidationParameters() |
int | hashCode() |
Returns: the private value length in bits, zero otherwise.