Class DES.AlgParamGen
java.lang.Object
java.security.AlgorithmParameterGeneratorSpi
org.bouncycastle.jcajce.provider.symmetric.util.BaseAlgorithmParameterGenerator
org.bouncycastle.jcajce.provider.symmetric.DES.AlgParamGen
- Enclosing class:
- DES
public static class DES.AlgParamGen extends BaseAlgorithmParameterGenerator
-
Field Summary
Fields inherited from class org.bouncycastle.jcajce.provider.symmetric.util.BaseAlgorithmParameterGenerator
random, strength -
Constructor Summary
Constructors Constructor Description AlgParamGen() -
Method Summary
Modifier and Type Method Description protected AlgorithmParametersengineGenerateParameters()Computes and returnsAlgorithmParametersfor this generator's algorithm.protected voidengineInit(AlgorithmParameterSpec genParamSpec, SecureRandom random)Initializes thisAlgorithmParameterGeneratorSpiwith the givenAlgorithmParameterSpecand the givenSecureRandom.Methods inherited from class org.bouncycastle.jcajce.provider.symmetric.util.BaseAlgorithmParameterGenerator
engineInit
-
Constructor Details
-
AlgParamGen
public AlgParamGen()
-
-
Method Details
-
engineInit
protected void engineInit(AlgorithmParameterSpec genParamSpec, SecureRandom random) throws InvalidAlgorithmParameterExceptionDescription copied from class:AlgorithmParameterGeneratorSpiInitializes thisAlgorithmParameterGeneratorSpiwith the givenAlgorithmParameterSpecand the givenSecureRandom.- Specified by:
engineInitin classAlgorithmParameterGeneratorSpi- Parameters:
genParamSpec- the parameters to use.random- the source of randomness.- Throws:
InvalidAlgorithmParameterException- if the specified parameters are not supported.
-
engineGenerateParameters
Description copied from class:AlgorithmParameterGeneratorSpiComputes and returnsAlgorithmParametersfor this generator's algorithm.- Specified by:
engineGenerateParametersin classAlgorithmParameterGeneratorSpi- Returns:
AlgorithmParametersfor this generator's algorithm.
-