- All Superinterfaces:
AsymmetricKey, BinaryEncodablePREVIEW, DHKey, DHPublicKey, ElGamalKey, Key, PublicKey, Serializable
- All Known Implementing Classes:
ElGamalPublicKeyImpl
Interface for ElGamal public keys.
This interface defines the contract for ElGamal public keys, extending both the ElGamalKey interface and the standard DHPublicKey interface. ElGamal public keys contain the public value y = g^x mod p used for encryption operations in the ElGamal public-key cryptosystem.
Method Summary
All MethodsMethods inherited from interface DHPublicKey
getParamsMethods inherited from interface ElGamalKey
getParametersModifier and TypeMethodDescriptionThe ElGamal parameters for this key.Methods inherited from interface Key
getAlgorithm, getEncoded, getFormat
Method Details
getY
BigInteger getY()- Specified by:
getYin interfaceDHPublicKey