Package org.bouncycastle.crypto.fips
Class FipsEC.KeyGenParameters
java.lang.Object
org.bouncycastle.crypto.fips.FipsParameters
org.bouncycastle.crypto.fips.FipsEC.KeyGenParameters
- All Implemented Interfaces:
Parameters
- Enclosing class:
FipsEC
Parameters for EC key pair generation.
-
Constructor Summary
ConstructorsConstructorDescriptionKeyGenParameters(ECDomainParameters domainParameters) Constructor for the default algorithm ID.KeyGenParameters(FipsEC.AgreementParameters parameters, ECDomainParameters domainParameters) Constructor for specifying an Agreement algorithm explicitly.KeyGenParameters(FipsEC.DHUAgreementParametersBuilder builder, ECDomainParameters domainParameters) Constructor for specifying the CDHU algorithm explicitly.KeyGenParameters(FipsEC.DSAParameters parameters, ECDomainParameters domainParameters) Constructor for specifying the DSA algorithm explicitly.KeyGenParameters(FipsEC.MQVAgreementParametersBuilder builder, ECDomainParameters domainParameters) Constructor for specifying the MQV algorithm explicitly. -
Method Summary
Modifier and TypeMethodDescriptionReturn the EC domain parameters for this object.Methods inherited from class org.bouncycastle.crypto.fips.FipsParameters
getAlgorithm
-
Constructor Details
-
KeyGenParameters
Constructor for the default algorithm ID.- Parameters:
domainParameters- EC domain parameters representing the curve any generated keys will be for.
-
KeyGenParameters
Constructor for specifying the DSA algorithm explicitly.- Parameters:
parameters- the particular parameter set to generate keys for.domainParameters- EC domain parameters representing the curve any generated keys will be for.
-
KeyGenParameters
Constructor for specifying an Agreement algorithm explicitly.- Parameters:
parameters- the particular parameter set to generate keys for.domainParameters- EC domain parameters representing the curve any generated keys will be for.
-
KeyGenParameters
public KeyGenParameters(FipsEC.MQVAgreementParametersBuilder builder, ECDomainParameters domainParameters) Constructor for specifying the MQV algorithm explicitly.- Parameters:
builder- the MQV builder.domainParameters- EC domain parameters representing the curve any generated keys will be for.
-
KeyGenParameters
public KeyGenParameters(FipsEC.DHUAgreementParametersBuilder builder, ECDomainParameters domainParameters) Constructor for specifying the CDHU algorithm explicitly.- Parameters:
builder- the CDHU builder.domainParameters- EC domain parameters representing the curve any generated keys will be for.
-
-
Method Details
-
getDomainParameters
Return the EC domain parameters for this object.- Returns:
- the EC domain parameter set.
-