xjava.security.interfaces
public interface ElGamalKey
References
Bruce Schneier, "Section 19.6 ElGamal," Applied Cryptography, Wiley 2nd Ed, 1996.
$Revision: 1.2 $
Since: IJCE 1.0.1
See Also: ElGamalParams java.security.Key java.security.Cipher java.security.Signature
Method Summary | |
---|---|
BigInteger | getG()
Returns the base, g.
|
BigInteger | getP()
Returns the prime, p.
|
BigInteger | getY()
Returns the value of y = g^x mod p (where x is
the private key).
|
Returns: the base as a java.math.BigInteger
Returns: the prime as a java.math.BigInteger
Returns: y as a java.math.BigInteger