org.gudy.bouncycastle.jce.spec
Class ElGamalPublicKeySpec
java.lang.Object
org.gudy.bouncycastle.jce.spec.ElGamalKeySpec
org.gudy.bouncycastle.jce.spec.ElGamalPublicKeySpec
- All Implemented Interfaces:
- KeySpec
public class ElGamalPublicKeySpec
- extends ElGamalKeySpec
This class specifies an ElGamal public key with its associated parameters.
- See Also:
ElGamalPrivateKeySpec
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ElGamalPublicKeySpec
public ElGamalPublicKeySpec(BigInteger y,
ElGamalParameterSpec spec)
getY
public BigInteger getY()
- Returns the public value
y
.
- Returns:
- the public value
y