org.gudy.bouncycastle.crypto.params
Class ElGamalParameters

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

public class ElGamalParameters
extends Object
implements CipherParameters


Constructor Summary
ElGamalParameters(BigInteger p, BigInteger g)
           
 
Method Summary
 boolean equals(Object obj)
           
 BigInteger getG()
          return the generator - g
 BigInteger getP()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElGamalParameters

public ElGamalParameters(BigInteger p,
                         BigInteger g)
Method Detail

getP

public BigInteger getP()

getG

public BigInteger getG()
return the generator - g


equals

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