Module ibm.crypto.ibmjcehybrid
Class ECParameterGeneratorHybrid
java.lang.Object
java.security.AlgorithmParameterGeneratorSpi
com.ibm.crypto.ibmjcehybrid.provider.ECParameterGeneratorHybrid
This class is a facade for the generator of the parameter set
used by the EC key agreement as defined in the
PKCS #3 standard.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of the ECParameterGeneratorHybrid class. -
Method Summary
Modifier and TypeMethodDescriptionprotected AlgorithmParametersGenerates the algorithm parameters.protected voidengineInit(int size) This method provides the settings for the AlgorithmParameterGenerator.protected voidengineInit(int size, SecureRandom random) This method provides the settings for the AlgorithmParameterGenerator.protected voidengineInit(AlgorithmParameterSpec paramSpec) This method provides the settings for the AlgorithmParameterGenerator.protected voidengineInit(AlgorithmParameterSpec paramSpec, SecureRandom random) This method provides the settings for the AlgorithmParameterGenerator.
-
Constructor Details
-
ECParameterGeneratorHybrid
public ECParameterGeneratorHybrid()Creates an instance of the ECParameterGeneratorHybrid class.
-
-
Method Details
-
engineInit
This method provides the settings for the AlgorithmParameterGenerator.- Parameters:
paramSpec- The settings- Throws:
InvalidParameterSpecException
-
engineInit
protected void engineInit(int size) This method provides the settings for the AlgorithmParameterGenerator.- Parameters:
size- The strength
-
engineInit
This method provides the settings for the AlgorithmParameterGenerator.- Specified by:
engineInitin classAlgorithmParameterGeneratorSpi- Parameters:
paramSpec- The settingsrandom- the source of randomness.
-
engineInit
This method provides the settings for the AlgorithmParameterGenerator.- Specified by:
engineInitin classAlgorithmParameterGeneratorSpi- Parameters:
size- The strengthrandom- the source of randomness.
-
engineGenerateParameters
Generates the algorithm parameters.- Specified by:
engineGenerateParametersin classAlgorithmParameterGeneratorSpi- Returns:
- the new parameters
-