org.gudy.bouncycastle.jce.provider
Class JDKAlgorithmParameterGenerator

java.lang.Object
  extended by java.security.AlgorithmParameterGeneratorSpi
      extended by org.gudy.bouncycastle.jce.provider.JDKAlgorithmParameterGenerator
Direct Known Subclasses:
JDKAlgorithmParameterGenerator.AES, JDKAlgorithmParameterGenerator.CAST5, JDKAlgorithmParameterGenerator.DES, JDKAlgorithmParameterGenerator.DH, JDKAlgorithmParameterGenerator.DSA, JDKAlgorithmParameterGenerator.ElGamal, JDKAlgorithmParameterGenerator.IDEA, JDKAlgorithmParameterGenerator.RC2

public abstract class JDKAlgorithmParameterGenerator
extends AlgorithmParameterGeneratorSpi


Nested Class Summary
static class JDKAlgorithmParameterGenerator.AES
           
static class JDKAlgorithmParameterGenerator.CAST5
           
static class JDKAlgorithmParameterGenerator.DES
           
static class JDKAlgorithmParameterGenerator.DH
           
static class JDKAlgorithmParameterGenerator.DSA
           
static class JDKAlgorithmParameterGenerator.ElGamal
           
static class JDKAlgorithmParameterGenerator.IDEA
           
static class JDKAlgorithmParameterGenerator.RC2
           
 
Field Summary
protected  SecureRandom random
           
protected  int strength
           
 
Constructor Summary
JDKAlgorithmParameterGenerator()
           
 
Method Summary
protected  void engineInit(int strength, SecureRandom random)
           
 
Methods inherited from class java.security.AlgorithmParameterGeneratorSpi
engineGenerateParameters, engineInit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

random

protected SecureRandom random

strength

protected int strength
Constructor Detail

JDKAlgorithmParameterGenerator

public JDKAlgorithmParameterGenerator()
Method Detail

engineInit

protected void engineInit(int strength,
                          SecureRandom random)
Specified by:
engineInit in class AlgorithmParameterGeneratorSpi