public class ElGamalPrivateKeySpec extends ElGamalKeySpec
ElGamalPublicKeySpec| Constructor and Description |
|---|
ElGamalPrivateKeySpec(BigInteger x,
ElGamalParameterSpec spec)Constructs an ElGamal private key specification. |
| Modifier and Type | Method and Description |
|---|---|
BigInteger | getX()Returns the private value x. |
getParamspublic ElGamalPrivateKeySpec(BigInteger x, ElGamalParameterSpec spec)
x - the private key valuespec - the ElGamal parameter specificationpublic BigInteger getX()
x.x