Top Fields Constructors Methods
org.bouncycastle.jce.spec

public Class ElGamalGenParameterSpec

extends Object
implements AlgorithmParameterSpec
Class Inheritance
All Implemented Interfaces
java.security.spec.AlgorithmParameterSpec
Imports
java.security.spec.AlgorithmParameterSpec

Field Summary

Modifier and TypeField and Description
private int

Constructor Summary

AccessConstructor and Description
public
ElGamalGenParameterSpec(int primeSize)

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the size in bits of the prime modulus
getPrimeSize
()

Returns the size in bits of the prime modulus.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

primeSizeback to summary
private int primeSize

Constructor Detail

ElGamalGenParameterSpecback to summary
public ElGamalGenParameterSpec(int primeSize)

Method Detail

getPrimeSizeback to summary
public int getPrimeSize()

Returns the size in bits of the prime modulus.

Returns:int

the size in bits of the prime modulus