xjava.security.interfaces
Interface ElGamalPrivateKey

All Superinterfaces:
ElGamalKey, java.security.Key, java.security.PrivateKey, java.io.Serializable
All Known Implementing Classes:
BaseElGamalPrivateKey

public interface ElGamalPrivateKey
extends ElGamalKey, java.security.PrivateKey

The interface to an ElGamal private key.

References

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

$Revision: 1.2 $

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

Fields inherited from interface java.security.PrivateKey
serialVersionUID
 
Method Summary
 java.math.BigInteger getX()
          Returns the value of x (the private key).
 
Methods inherited from interface xjava.security.interfaces.ElGamalKey
getG, getP, getY
 
Methods inherited from interface java.security.Key
getAlgorithm, getEncoded, getFormat
 

Method Detail

getX

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