Package org.gudy.bouncycastle.jce.spec
Class ElGamalGenParameterSpec
java.lang.Object
org.gudy.bouncycastle.jce.spec.ElGamalGenParameterSpec
- All Implemented Interfaces:
AlgorithmParameterSpec
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the size in bits of the prime modulus.
-
Field Details
-
primeSize
private int primeSize
-
-
Constructor Details
-
ElGamalGenParameterSpec
public ElGamalGenParameterSpec(int primeSize)
-
-
Method Details
-
getPrimeSize
public int getPrimeSize()Returns the size in bits of the prime modulus.- Returns:
- the size in bits of the prime modulus
-