org.gudy.bouncycastle.crypto.params
Class DHParameters

java.lang.Object
  extended by org.gudy.bouncycastle.crypto.params.DHParameters
All Implemented Interfaces:
CipherParameters

public class DHParameters
extends Object
implements CipherParameters


Constructor Summary
DHParameters(BigInteger p, BigInteger g)
           
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()
           
 BigInteger getP()
           
 BigInteger getQ()
           
 DHValidationParameters getValidationParameters()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DHParameters

public DHParameters(BigInteger p,
                    BigInteger g)

DHParameters

public DHParameters(BigInteger p,
                    BigInteger g,
                    BigInteger q,
                    int j)

DHParameters

public DHParameters(BigInteger p,
                    BigInteger g,
                    BigInteger q,
                    int j,
                    DHValidationParameters validation)
Method Detail

getP

public BigInteger getP()

getG

public BigInteger getG()

getQ

public BigInteger getQ()

getJ

public int getJ()

getValidationParameters

public DHValidationParameters getValidationParameters()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object