Class BaseAlgorithmParameterGenerator

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.security.SecureRandom random  
      protected int strength  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.security.AlgorithmParameters createParametersInstance​(java.lang.String algorithm)  
      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

      • BaseAlgorithmParameterGenerator

        public BaseAlgorithmParameterGenerator()
    • Method Detail

      • createParametersInstance

        protected final java.security.AlgorithmParameters createParametersInstance​(java.lang.String algorithm)
                                                                            throws java.security.NoSuchAlgorithmException,
                                                                                   java.security.NoSuchProviderException
        Throws:
        java.security.NoSuchAlgorithmException
        java.security.NoSuchProviderException
      • engineInit

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