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