Package 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
Constructors Constructor Description ElGamalParameters(java.math.BigInteger p, java.math.BigInteger g)
ElGamalParameters(java.math.BigInteger p, java.math.BigInteger g, int l)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.math.BigInteger
getG()
return the generator - gint
getL()
return private value limit - ljava.math.BigInteger
getP()
int
hashCode()
-
-
-
Method Detail
-
getP
public java.math.BigInteger getP()
-
getG
public java.math.BigInteger getG()
return the generator - g
-
getL
public int getL()
return private value limit - l
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-