Package org.bouncycastle.crypto.params
Class ElGamalParameters
- java.lang.Object
-
- org.bouncycastle.crypto.params.ElGamalParameters
-
- All Implemented Interfaces:
CipherParameters
public class ElGamalParameters extends Object implements CipherParameters
-
-
Constructor Summary
Constructors Constructor Description ElGamalParameters(BigInteger p, BigInteger g)
ElGamalParameters(BigInteger p, BigInteger g, int l)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
BigInteger
getG()
return the generator - gint
getL()
return private value limit - lBigInteger
getP()
int
hashCode()
-
-
-
Constructor Detail
-
ElGamalParameters
public ElGamalParameters(BigInteger p, BigInteger g)
-
ElGamalParameters
public ElGamalParameters(BigInteger p, BigInteger g, int l)
-
-
Method Detail
-
getP
public BigInteger getP()
-
getG
public BigInteger getG()
return the generator - g
-
getL
public int getL()
return private value limit - l
-
-