Top Fields Constructors Methods
org.bouncycastle.jcajce.provider.symmetric.util

public abstract Class BaseAlgorithmParameterGenerator

extends AlgorithmParameterGeneratorSpi
Class Inheritance
Known Direct Subclasses
org.bouncycastle.jcajce.provider.symmetric.AES.AlgParamGen, org.bouncycastle.jcajce.provider.symmetric.AES.AlgParamGenCCM, org.bouncycastle.jcajce.provider.symmetric.AES.AlgParamGenGCM, org.bouncycastle.jcajce.provider.symmetric.ARIA.AlgParamGen, org.bouncycastle.jcajce.provider.symmetric.Camellia.AlgParamGen, org.bouncycastle.jcajce.provider.symmetric.CAST5.AlgParamGen, org.bouncycastle.jcajce.provider.symmetric.DES.AlgParamGen, org.bouncycastle.jcajce.provider.symmetric.DESede.AlgParamGen, org.bouncycastle.jcajce.provider.symmetric.DSTU7624.AlgParamGen, org.bouncycastle.jcajce.provider.symmetric.GOST28147.AlgParamGen, org.bouncycastle.jcajce.provider.symmetric.IDEA.AlgParamGen, org.bouncycastle.jcajce.provider.symmetric.Noekeon.AlgParamGen, org.bouncycastle.jcajce.provider.symmetric.RC2.AlgParamGen, org.bouncycastle.jcajce.provider.symmetric.RC5.AlgParamGen, org.bouncycastle.jcajce.provider.symmetric.RC6.AlgParamGen, org.bouncycastle.jcajce.provider.symmetric.SEED.AlgParamGen, org.bouncycastle.jcajce.provider.symmetric.Shacal2.AlgParamGen, org.bouncycastle.jcajce.provider.symmetric.SM4.AlgParamGen
Imports
java.security.AlgorithmParameterGeneratorSpi, .AlgorithmParameters, .NoSuchAlgorithmException, .NoSuchProviderException, .SecureRandom, org.bouncycastle.jcajce.util.BCJcaJceHelper, .JcaJceHelper

Field Summary

Modifier and TypeField and Description
private final JcaJceHelper
protected SecureRandom
protected int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected final AlgorithmParameters
protected void
engineInit(int
the size (number of bits).
strength
,
SecureRandom
the source of randomness.
random
)

Implements abstract java.security.AlgorithmParameterGeneratorSpi.engineInit.

Initializes this parameter generator for a certain size and source of randomness.
Inherited from java.security.AlgorithmParameterGeneratorSpi:
engineGenerateParametersengineInit

Field Detail

helperback to summary
private final JcaJceHelper helper
randomback to summary
protected SecureRandom random
strengthback to summary
protected int strength

Constructor Detail

BaseAlgorithmParameterGeneratorback to summary
public BaseAlgorithmParameterGenerator()

Method Detail

createParametersInstanceback to summary
protected final AlgorithmParameters createParametersInstance(String algorithm) throws NoSuchAlgorithmException, NoSuchProviderException
engineInitback to summary
protected void engineInit(int strength, SecureRandom random)

Implements abstract java.security.AlgorithmParameterGeneratorSpi.engineInit.

Doc from java.security.AlgorithmParameterGeneratorSpi.engineInit.

Initializes this parameter generator for a certain size and source of randomness.

Parameters
strength:int

the size (number of bits).

random:SecureRandom

the source of randomness.