com.ibm.crypto.ibmjcehybrid.provider

Class DSAParameterGeneratorHybrid

  • java.lang.Object
    • java.security.AlgorithmParameterGeneratorSpi
      • com.ibm.crypto.ibmjcehybrid.provider.DSAParameterGeneratorHybrid


  • public final class DSAParameterGeneratorHybrid
    extends java.security.AlgorithmParameterGeneratorSpi
    This class is a facade for the Digital Signature Algorithm (DSA) ParameterGenerator specified by FIPS 186 standard.
    • Constructor Summary

      Constructors 
      Constructor and Description
      DSAParameterGeneratorHybrid()
      Creates an instance of the DSAParameterGeneratorHybrid class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      protected java.security.AlgorithmParameters engineGenerateParameters()
      Generates the algorithm parameters.
      protected void engineInit(java.security.spec.AlgorithmParameterSpec paramSpec)
      This method provides the settings for the AlgorithmParameterGenerator.
      protected void engineInit(java.security.spec.AlgorithmParameterSpec paramSpec, java.security.SecureRandom random)
      This method provides the settings for the AlgorithmParameterGenerator.
      protected void engineInit(int size)
      This method provides the settings for the AlgorithmParameterGenerator.
      protected void engineInit(int size, java.security.SecureRandom random)
      This method provides the settings for the AlgorithmParameterGenerator.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DSAParameterGeneratorHybrid

        public DSAParameterGeneratorHybrid()
        Creates an instance of the DSAParameterGeneratorHybrid class.
    • Method Detail

      • engineInit

        protected void engineInit(java.security.spec.AlgorithmParameterSpec paramSpec)
                           throws java.security.spec.InvalidParameterSpecException
        This method provides the settings for the AlgorithmParameterGenerator.
        Parameters:
        paramSpec - The settings
        Throws:
        java.security.spec.InvalidParameterSpecException
      • engineInit

        protected void engineInit(int size)
        This method provides the settings for the AlgorithmParameterGenerator.
        Parameters:
        size - The strength
      • engineInit

        protected void engineInit(java.security.spec.AlgorithmParameterSpec paramSpec,
                                  java.security.SecureRandom random)
        This method provides the settings for the AlgorithmParameterGenerator.
        Specified by:
        engineInit in class java.security.AlgorithmParameterGeneratorSpi
        Parameters:
        paramSpec - The settings
        random - the source of randomness.
      • engineInit

        protected void engineInit(int size,
                                  java.security.SecureRandom random)
        This method provides the settings for the AlgorithmParameterGenerator.
        Specified by:
        engineInit in class java.security.AlgorithmParameterGeneratorSpi
        Parameters:
        size - The strength
        random - the source of randomness.
      • engineGenerateParameters

        protected java.security.AlgorithmParameters engineGenerateParameters()
        Generates the algorithm parameters.
        Specified by:
        engineGenerateParameters in class java.security.AlgorithmParameterGeneratorSpi
        Returns:
        the new parameters
� Portions Copyright 1997, 2016 IBM Corporation. All rights reserved. � Portions Copyright 1997, 2016, Oracle and/or its affiliates. All rights reserved.