com.ibm.crypto.provider
Class DSAParameterGenerator
java.lang.Object
|
+--java.security.AlgorithmParameterGeneratorSpi
|
+--com.ibm.crypto.provider.DSAParameterGenerator
- public class DSAParameterGenerator
- extends AlgorithmParameterGeneratorSpi
This class generates parameters for the DSA signature.
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
DSAParameterGenerator
public DSAParameterGenerator()
- Constructs a new instance of this class.
engineGenerateParameters
protected AlgorithmParameters engineGenerateParameters()
- Answers the newly generated parameters.
- Overrides:
- engineGenerateParameters in class AlgorithmParameterGeneratorSpi
- Returns:
- AlgorithmParameters the newly generated parameters.
engineInit
protected void engineInit(AlgorithmParameterSpec genParamSpec,
SecureRandom random)
throws InvalidAlgorithmParameterException
- Initializes the receiver with the specified parameters and source of
randomness.
- Overrides:
- engineInit in class AlgorithmParameterGeneratorSpi
- Parameters:
genParamSpec
- AlgorithmParameterSpec parameters for this algorithmrandom
- SecureRandom New secure random to use
engineInit
protected void engineInit(int size,
SecureRandom random)
- Initializes the receiver with the specified parameter size and source of
randomness.
- Overrides:
- engineInit in class AlgorithmParameterGeneratorSpi
- Parameters:
size
- int Size of the parametersrandom
- SecureRandom New secure random to use