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
All Methods Instance Methods Concrete Methods 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
createParametersInstance, engineInit
-
-
-
-
Method Detail
-
engineInit
protected void engineInit(AlgorithmParameterSpec genParamSpec, SecureRandom random) throws InvalidAlgorithmParameterException
Description 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
protected AlgorithmParameters engineGenerateParameters()
Description copied from class:AlgorithmParameterGeneratorSpiComputes and returnsAlgorithmParametersfor this generator's algorithm.- Specified by:
engineGenerateParametersin classAlgorithmParameterGeneratorSpi- Returns:
AlgorithmParametersfor this generator's algorithm.
-
-