Package net.i2p.crypto.elgamal.spec
Class ElGamalPublicKeySpec
java.lang.Object
net.i2p.crypto.elgamal.spec.ElGamalKeySpec
net.i2p.crypto.elgamal.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
-
Constructor Summary
Constructors Constructor Description ElGamalPublicKeySpec(BigInteger y, ElGamalParameterSpec spec)
-
Method Summary
Modifier and Type Method Description BigInteger
getY()
Returns the public valuey
.
-
Constructor Details
-
Method Details
-
getY
Returns the public valuey
.- Returns:
- the public value
y
-