xjava.security.interfaces

Interface ElGamalPrivateKey

All Superinterfaces:
ElGamalKey, PrivateKey
Known Implementing Classes:
BaseElGamalPrivateKey

public interface ElGamalPrivateKey
extends ElGamalKey, PrivateKey

The interface to an ElGamal private key.

References

Bruce Schneier, "Section 19.6 ElGamal," Applied Cryptography, Wiley 2nd Ed, 1996.

$Revision: 1.2 $

Author:
David Hopwood
Since:
IJCE 1.0.1
See Also:
ElGamalKey, java.security.Cipher, java.security.Signature

Method Summary

BigInteger
getX()
Returns the value of x (the private key).

Methods inherited from interface xjava.security.interfaces.ElGamalKey

getG, getP, getY

Method Details

getX

public BigInteger getX()
Returns the value of x (the private key).
Returns:
x as a java.math.BigInteger