|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcryptix.provider.elgamal.BaseElGamalParams
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:
Copyright © 1997
Systemics Ltd on behalf of the
Cryptix Development Team.
All rights reserved.
$Revision: 1.2 $
ElGamalKey,
Key,
java.security.Cipher,
Signature| Field Summary | |
|---|---|
protected java.math.BigInteger |
g
|
protected java.math.BigInteger |
p
|
| Constructor Summary | |
|---|---|
BaseElGamalParams(java.math.BigInteger p,
java.math.BigInteger g)
Construct an ElGamalParams object with the specified prime p, and base g. |
|
| Method Summary | |
|---|---|
java.math.BigInteger |
getG()
Returns the base, g. |
java.math.BigInteger |
getP()
Returns the prime, p. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.math.BigInteger p
protected java.math.BigInteger g
| Constructor Detail |
public BaseElGamalParams(java.math.BigInteger p,
java.math.BigInteger g)
| Method Detail |
public java.math.BigInteger getP()
getP in interface ElGamalParamspublic java.math.BigInteger getG()
getG in interface ElGamalParams
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||