|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface to an ElGamal public or private key.
References
Bruce Schneier, "Section 19.6 ElGamal," Applied Cryptography, Wiley 2nd Ed, 1996.
$Revision: 1.2 $
ElGamalParams
,
Key
,
java.security.Cipher
,
Signature
Method Summary | |
java.math.BigInteger |
getG()
Returns the base, g. |
java.math.BigInteger |
getP()
Returns the prime, p. |
java.math.BigInteger |
getY()
Returns the value of y = g^x mod p (where x is the private key). |
Method Detail |
public java.math.BigInteger getP()
public java.math.BigInteger getG()
public java.math.BigInteger getY()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |