Class ECParametersHybrid


  • public final class ECParametersHybrid
    extends java.security.AlgorithmParametersSpi
    This class is a facade for Elliptic Curve (EC) parameters specified by FIPS 186 standard.
    • Constructor Summary

      Constructors 
      Constructor Description
      ECParametersHybrid()
      Creates a new instance of the ECParametersHybrid class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected byte[] engineGetEncoded()
      This method returns the algorithm parameters in encoded form.
      protected byte[] engineGetEncoded​(java.lang.String encodingMethod)
      This method returns the algorithm parameters in encoded form.
      protected java.security.spec.AlgorithmParameterSpec engineGetParameterSpec​(java.lang.Class paramSpecClass)
      This method returns the AlgorithmParameters object.
      protected void engineInit​(byte[] encoded)
      This method provides the settings for the AlgorithmParameters.
      protected void engineInit​(byte[] encoded, java.lang.String decodingMethod)
      This method provides the settings for the AlgorithmParameters.
      protected void engineInit​(java.security.spec.AlgorithmParameterSpec paramSpec)
      This method provides the settings for the AlgorithmParameters.
      protected java.lang.String engineToString()  
      protected java.lang.String toString​(boolean isExternalCall)
      Returns a formatted string describing the parameters.
      • Methods inherited from class java.lang.Object

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

      • ECParametersHybrid

        public ECParametersHybrid()
        Creates a new instance of the ECParametersHybrid class.
    • Method Detail

      • engineInit

        protected void engineInit​(java.security.spec.AlgorithmParameterSpec paramSpec)
                           throws java.security.spec.InvalidParameterSpecException
        This method provides the settings for the AlgorithmParameters.
        Specified by:
        engineInit in class java.security.AlgorithmParametersSpi
        Parameters:
        paramSpec - The settings
        Throws:
        java.security.spec.InvalidParameterSpecException
      • engineInit

        protected void engineInit​(byte[] encoded)
                           throws java.io.IOException
        This method provides the settings for the AlgorithmParameters.
        Specified by:
        engineInit in class java.security.AlgorithmParametersSpi
        Parameters:
        encoded - The settings
        Throws:
        java.io.IOException
      • engineInit

        protected void engineInit​(byte[] encoded,
                                  java.lang.String decodingMethod)
                           throws java.io.IOException
        This method provides the settings for the AlgorithmParameters.
        Specified by:
        engineInit in class java.security.AlgorithmParametersSpi
        Parameters:
        encoded - The settings
        decodingMethod - How to extract the settings
        Throws:
        java.io.IOException
      • engineGetParameterSpec

        protected java.security.spec.AlgorithmParameterSpec engineGetParameterSpec​(java.lang.Class paramSpecClass)
                                                                            throws java.security.spec.InvalidParameterSpecException
        This method returns the AlgorithmParameters object.
        Specified by:
        engineGetParameterSpec in class java.security.AlgorithmParametersSpi
        Parameters:
        paramSpecClass - The class of the AlgorithmParameters to return
        Throws:
        java.security.spec.InvalidParameterSpecException
      • engineGetEncoded

        protected byte[] engineGetEncoded()
                                   throws java.io.IOException
        This method returns the algorithm parameters in encoded form.
        Specified by:
        engineGetEncoded in class java.security.AlgorithmParametersSpi
        Throws:
        java.io.IOException
      • engineGetEncoded

        protected byte[] engineGetEncoded​(java.lang.String encodingMethod)
                                   throws java.io.IOException
        This method returns the algorithm parameters in encoded form.
        Specified by:
        engineGetEncoded in class java.security.AlgorithmParametersSpi
        Parameters:
        encodingMethod - encoding method.
        Throws:
        java.io.IOException
      • engineToString

        protected java.lang.String engineToString()
        Specified by:
        engineToString in class java.security.AlgorithmParametersSpi
      • toString

        protected java.lang.String toString​(boolean isExternalCall)
        Returns a formatted string describing the parameters.
        Parameters:
        isExternalCall - specifies whether the call is from an external caller or from a method in this class.
        Returns:
        this object represented as a string.