Package net.i2p.crypto.elgamal.spec
Class ElGamalPrivateKeySpec
java.lang.Object
net.i2p.crypto.elgamal.spec.ElGamalKeySpec
net.i2p.crypto.elgamal.spec.ElGamalPrivateKeySpec
- All Implemented Interfaces:
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(BigInteger x, ElGamalParameterSpec spec)
-
Method Summary
Modifier and Type Method Description BigInteger
getX()
Returns the private valuex
.
-
Constructor Details
-
Method Details
-
getX
Returns the private valuex
.- Returns:
- the private value
x
-