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 java.security.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  java.security.SecureRandom random
           
protected  int strength
           
 
Constructor Summary
JDKAlgorithmParameterGenerator()
           
 
Method Summary
protected  void engineInit(int strength, java.security.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 java.security.SecureRandom random

strength

protected int strength
Constructor Detail

JDKAlgorithmParameterGenerator

public JDKAlgorithmParameterGenerator()
Method Detail

engineInit

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