Package org.bouncycastle.jce.spec
Class ElGamalParameterSpec
- java.lang.Object
-
- org.bouncycastle.jce.spec.ElGamalParameterSpec
-
- All Implemented Interfaces:
java.security.spec.AlgorithmParameterSpec
public class ElGamalParameterSpec extends java.lang.Object implements java.security.spec.AlgorithmParameterSpec
-
-
Constructor Summary
Constructors Constructor Description 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.math.BigInteger
getG()
Returns the base generator g.java.math.BigInteger
getP()
Returns the prime modulus p.
-