|
Bouncy Castle Cryptography 1.26 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.bouncycastle.jce.spec.ElGamalParameterSpec
| Constructor Summary | |
ElGamalParameterSpec(java.math.BigInteger p,
java.math.BigInteger g)
Constructs a parameter set for Diffie-Hellman, using a prime modulus p and a base generator g. |
|
| Method Summary | |
java.math.BigInteger |
getG()
Returns the base generator g. |
java.math.BigInteger |
getP()
Returns the prime modulus p. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ElGamalParameterSpec(java.math.BigInteger p,
java.math.BigInteger g)
p and a base generator g.
p - the prime modulusg - the base generator| Method Detail |
public java.math.BigInteger getP()
p.
ppublic java.math.BigInteger getG()
g.
g
|
Bouncy Castle Cryptography 1.26 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||