org.gudy.bouncycastle.crypto.params
Class DHParameters
java.lang.Object
org.gudy.bouncycastle.crypto.params.DHParameters
- All Implemented Interfaces:
- CipherParameters
public class DHParameters
- extends java.lang.Object
- implements CipherParameters
Constructor Summary |
DHParameters(java.math.BigInteger p,
java.math.BigInteger g)
|
DHParameters(java.math.BigInteger p,
java.math.BigInteger g,
java.math.BigInteger q,
int j)
|
DHParameters(java.math.BigInteger p,
java.math.BigInteger g,
java.math.BigInteger q,
int j,
DHValidationParameters validation)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DHParameters
public DHParameters(java.math.BigInteger p,
java.math.BigInteger g)
DHParameters
public DHParameters(java.math.BigInteger p,
java.math.BigInteger g,
java.math.BigInteger q,
int j)
DHParameters
public DHParameters(java.math.BigInteger p,
java.math.BigInteger g,
java.math.BigInteger q,
int j,
DHValidationParameters validation)
getP
public java.math.BigInteger getP()
getG
public java.math.BigInteger getG()
getQ
public java.math.BigInteger getQ()
getJ
public int getJ()
getValidationParameters
public DHValidationParameters getValidationParameters()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object