Package org.bouncycastle.crypto.general
Class ElGamal.KeyGenParameters
java.lang.Object
org.bouncycastle.crypto.general.GeneralParameters
org.bouncycastle.crypto.general.ElGamal.KeyGenParameters
- All Implemented Interfaces:
Parameters
- Enclosing class:
ElGamal
ElGamal key pair generation parameters.
-
Constructor Summary
ConstructorsConstructorDescriptionKeyGenParameters(DHDomainParameters domainParameters) Base constructor for specific domain parameters.KeyGenParameters(ElGamal.Parameters parameters, DHDomainParameters domainParameters) Constructor for specifying the ElGamal algorithm explicitly. -
Method Summary
Methods inherited from class org.bouncycastle.crypto.general.GeneralParameters
getAlgorithm
-
Constructor Details
-
KeyGenParameters
Base constructor for specific domain parameters.- Parameters:
domainParameters- the DH domain parameters.
-
KeyGenParameters
Constructor for specifying the ElGamal algorithm explicitly.- Parameters:
parameters- the particular parameter set to generate keys for.domainParameters- DH domain parameters representing the curve any generated keys will be for.
-
-
Method Details
-
getDomainParameters
-