- All Superinterfaces:
AsymmetricKey, BinaryEncodablePREVIEW, Destroyable, DHKey, DHPrivateKey, ElGamalKey, Key, PrivateKey, Serializable
- All Known Implementing Classes:
ElGamalPrivateKeyImpl
Interface for ElGamal private keys.
This interface defines the contract for ElGamal private keys, extending both the ElGamalKey interface and the standard DHPrivateKey interface. ElGamal private keys contain the secret exponent x used for decryption operations in the ElGamal public-key cryptosystem.
Method Summary
All MethodsMethods inherited from interface Destroyable
destroy, isDestroyedMethods inherited from interface DHPrivateKey
getParamsMethods inherited from interface ElGamalKey
getParametersModifier and TypeMethodDescriptionThe ElGamal parameters for this key.Methods inherited from interface Key
getAlgorithm, getEncoded, getFormat
Method Details
getX
BigInteger getX()- Specified by:
getXin interfaceDHPrivateKey