com.ibm.crypto.ibmjcehybrid.provider
Class DSAParameterGeneratorHybrid
- java.lang.Object
-
- java.security.AlgorithmParameterGeneratorSpi
-
- com.ibm.crypto.ibmjcehybrid.provider.DSAParameterGeneratorHybrid
-
public final class DSAParameterGeneratorHybrid extends java.security.AlgorithmParameterGeneratorSpiThis class is a facade for the Digital Signature Algorithm (DSA) ParameterGenerator specified by FIPS 186 standard.
-
-
Constructor Summary
Constructors Constructor and Description DSAParameterGeneratorHybrid()Creates an instance of the DSAParameterGeneratorHybrid class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description protected java.security.AlgorithmParametersengineGenerateParameters()Generates the algorithm parameters.protected voidengineInit(java.security.spec.AlgorithmParameterSpec paramSpec)This method provides the settings for the AlgorithmParameterGenerator.protected voidengineInit(java.security.spec.AlgorithmParameterSpec paramSpec, java.security.SecureRandom random)This method provides the settings for the AlgorithmParameterGenerator.protected voidengineInit(int size)This method provides the settings for the AlgorithmParameterGenerator.protected voidengineInit(int size, java.security.SecureRandom random)This method provides the settings for the AlgorithmParameterGenerator.
-
-
-
Constructor Detail
-
DSAParameterGeneratorHybrid
public DSAParameterGeneratorHybrid()
Creates an instance of the DSAParameterGeneratorHybrid class.
-
-
Method Detail
-
engineInit
protected void engineInit(java.security.spec.AlgorithmParameterSpec paramSpec) throws java.security.spec.InvalidParameterSpecExceptionThis method provides the settings for the AlgorithmParameterGenerator.- Parameters:
paramSpec- The settings- Throws:
java.security.spec.InvalidParameterSpecException
-
engineInit
protected void engineInit(int size)
This method provides the settings for the AlgorithmParameterGenerator.- Parameters:
size- The strength
-
engineInit
protected void engineInit(java.security.spec.AlgorithmParameterSpec paramSpec, java.security.SecureRandom random)This method provides the settings for the AlgorithmParameterGenerator.- Specified by:
engineInitin classjava.security.AlgorithmParameterGeneratorSpi- Parameters:
paramSpec- The settingsrandom- the source of randomness.
-
engineInit
protected void engineInit(int size, java.security.SecureRandom random)This method provides the settings for the AlgorithmParameterGenerator.- Specified by:
engineInitin classjava.security.AlgorithmParameterGeneratorSpi- Parameters:
size- The strengthrandom- the source of randomness.
-
engineGenerateParameters
protected java.security.AlgorithmParameters engineGenerateParameters()
Generates the algorithm parameters.- Specified by:
engineGenerateParametersin classjava.security.AlgorithmParameterGeneratorSpi- Returns:
- the new parameters
-
-