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 modulusp
and a base generatorg
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.math.BigInteger
getG()
Returns the base generatorg
.java.math.BigInteger
getP()
Returns the prime modulusp
.
-