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