All Packages Class Hierarchy This Package Previous Next Index
Class cryptix.provider.elgamal.BaseElGamalParams
java.lang.Object
|
+----cryptix.provider.elgamal.BaseElGamalParams
- public class BaseElGamalParams
- extends Object
- implements ElGamalParams
Class representing an ElGamal-specific set of key parameters, which defines
an ElGamal key family.
The same key parameters apply to both the signature and encryption
algorithms.
References:
- Bruce Schneier,
"Section 19.6 ElGamal,"
Applied Cryptography, 2nd Edition,
John Wiley & Sons, 1996.
- IEEE P1363 draft standard,
http://stdsbbs.ieee.org/groups/1363/index.html
Copyright © 1997
Systemics Ltd on behalf of the
Cryptix Development Team.
All rights reserved.
$Revision: 1.1 $
- Author:
- David Hopwood
- See Also:
- ElGamalKey, Key, Cipher, Signature
-
g
-
-
p
-
-
BaseElGamalParams(BigInteger, BigInteger)
- Construct an ElGamalParams object with the specified prime p,
and base g.
-
getG()
- Returns the base, g.
-
getP()
- Returns the prime, p.
p
protected BigInteger p
g
protected BigInteger g
BaseElGamalParams
public BaseElGamalParams(BigInteger p,
BigInteger g)
- Construct an ElGamalParams object with the specified prime p,
and base g.
getP
public BigInteger getP()
- Returns the prime, p.
- Returns:
- the prime as a java.math.BigInteger
getG
public BigInteger getG()
- Returns the base, g.
- Returns:
- the base as a java.math.BigInteger
All Packages Class Hierarchy This Package Previous Next Index