Package org.bouncycastle.jcajce.provider.symmetric

## Class CAST5.AlgParamGen

- java.lang.Object
- - java.security.AlgorithmParameterGeneratorSpi
  - - org.bouncycastle.jcajce.provider.symmetric.util.BaseAlgorithmParameterGenerator
    - - org.bouncycastle.jcajce.provider.symmetric.CAST5.AlgParamGen

- Enclosing class:
    CAST5

      public static class CAST5.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 java.security.AlgorithmParameters` | `engineGenerateParameters()` |
    `protected void` | `engineInit​(java.security.spec.AlgorithmParameterSpec genParamSpec, java.security.SecureRandom random)` |

    - ### Methods inherited from class org.bouncycastle.jcajce.provider.symmetric.util.BaseAlgorithmParameterGenerator

      `createParametersInstance, engineInit`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AlgParamGen

          public AlgParamGen()

  - ### Method Detail

    - #### engineInit

          protected void engineInit​(java.security.spec.AlgorithmParameterSpec genParamSpec,
                                    java.security.SecureRandom random)
                             throws java.security.InvalidAlgorithmParameterException

      Specified by:
        `engineInit` in class `java.security.AlgorithmParameterGeneratorSpi`
      Throws:
        `java.security.InvalidAlgorithmParameterException`

    - #### engineGenerateParameters

          protected java.security.AlgorithmParameters engineGenerateParameters()

      Specified by:
        `engineGenerateParameters` in class `java.security.AlgorithmParameterGeneratorSpi`