Bouncy Castle Cryptography 1.11 API Specification: Class ElGamalParameters
org.bouncycastle.crypto.params
Class ElGamalParameters
java.lang.Object
|
+--org.bouncycastle.crypto.params.ElGamalParameters
- All Implemented Interfaces:
- CipherParameters
- public class ElGamalParameters
- extends java.lang.Object
- implements CipherParameters
Constructor Summary |
ElGamalParameters(java.math.BigInteger p,
java.math.BigInteger g)
|
Method Summary |
boolean |
equals(java.lang.Object obj)
|
java.math.BigInteger |
getG()
return the generator - g |
java.math.BigInteger |
getP()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ElGamalParameters
public ElGamalParameters(java.math.BigInteger p,
java.math.BigInteger g)
getP
public java.math.BigInteger getP()
getG
public java.math.BigInteger getG()
- return the generator - g
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object