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 AlgorithmParameters
Generates the algorithm parameters.protected void
engineInit
(int size) This method provides the settings for the AlgorithmParameterGenerator.protected void
engineInit
(int size, SecureRandom random) This method provides the settings for the AlgorithmParameterGenerator.protected void
engineInit
(AlgorithmParameterSpec paramSpec) This method provides the settings for the AlgorithmParameterGenerator.protected void
engineInit
(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:
engineInit
in classAlgorithmParameterGeneratorSpi
- Parameters:
paramSpec
- The settingsrandom
- the source of randomness.
-
engineInit
This method provides the settings for the AlgorithmParameterGenerator.- Specified by:
engineInit
in classAlgorithmParameterGeneratorSpi
- Parameters:
size
- The strengthrandom
- the source of randomness.
-
engineGenerateParameters
Generates the algorithm parameters.- Specified by:
engineGenerateParameters
in classAlgorithmParameterGeneratorSpi
- Returns:
- the new parameters
-