Package org.bouncycastle.jce.spec
Class ElGamalPrivateKeySpec
- java.lang.Object
-
- org.bouncycastle.jce.spec.ElGamalKeySpec
-
- org.bouncycastle.jce.spec.ElGamalPrivateKeySpec
-
- All Implemented Interfaces:
java.security.spec.KeySpec
public class ElGamalPrivateKeySpec extends ElGamalKeySpec
This class specifies an ElGamal private key with its associated parameters.- See Also:
ElGamalPublicKeySpec
-
-
Constructor Summary
Constructors Constructor Description ElGamalPrivateKeySpec(java.math.BigInteger x, ElGamalParameterSpec spec)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.math.BigInteger
getX()
Returns the private valuex
.-
Methods inherited from class org.bouncycastle.jce.spec.ElGamalKeySpec
getParams
-
-
-
-
Constructor Detail
-
ElGamalPrivateKeySpec
public ElGamalPrivateKeySpec(java.math.BigInteger x, ElGamalParameterSpec spec)
-
-