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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigInteger
getY()
Returns the public valuey
.-
Methods inherited from class net.i2p.crypto.elgamal.spec.ElGamalKeySpec
getParams
-
-
-
-
Constructor Detail
-
ElGamalPublicKeySpec
public ElGamalPublicKeySpec(BigInteger y, ElGamalParameterSpec spec)
-
-
Method Detail
-
getY
public BigInteger getY()
Returns the public valuey
.- Returns:
- the public value
y
-
-