Package org.bouncycastle.crypto.params
Class ElGamalPublicKeyParameters
- java.lang.Object
-
- org.bouncycastle.crypto.params.AsymmetricKeyParameter
-
- org.bouncycastle.crypto.params.ElGamalKeyParameters
-
- org.bouncycastle.crypto.params.ElGamalPublicKeyParameters
-
- All Implemented Interfaces:
CipherParameters
public class ElGamalPublicKeyParameters extends ElGamalKeyParameters
-
-
Constructor Summary
Constructors Constructor Description ElGamalPublicKeyParameters(java.math.BigInteger y, ElGamalParameters params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.math.BigInteger
getY()
int
hashCode()
-
Methods inherited from class org.bouncycastle.crypto.params.ElGamalKeyParameters
getParameters
-
Methods inherited from class org.bouncycastle.crypto.params.AsymmetricKeyParameter
isPrivate
-
-
-
-
Constructor Detail
-
ElGamalPublicKeyParameters
public ElGamalPublicKeyParameters(java.math.BigInteger y, ElGamalParameters params)
-
-
Method Detail
-
getY
public java.math.BigInteger getY()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classElGamalKeyParameters
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classElGamalKeyParameters
-
-