Package net.i2p.crypto.elgamal.spec
Class ElGamalGenParameterSpec
java.lang.Object
net.i2p.crypto.elgamal.spec.ElGamalGenParameterSpec
- All Implemented Interfaces:
AlgorithmParameterSpec
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the size in bits of the prime modulus.
-
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
-