Class AlgorithmParametersSpi


  • public class AlgorithmParametersSpi
    extends java.security.AlgorithmParametersSpi
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected byte[] engineGetEncoded()
      Return the X.509 ASN.1 structure GOST3410Parameter.
      protected byte[] engineGetEncoded​(java.lang.String format)  
      protected java.security.spec.AlgorithmParameterSpec engineGetParameterSpec​(java.lang.Class paramSpec)  
      protected void engineInit​(byte[] params)  
      protected void engineInit​(byte[] params, java.lang.String format)  
      protected void engineInit​(java.security.spec.AlgorithmParameterSpec paramSpec)  
      protected java.lang.String engineToString()  
      protected boolean isASN1FormatString​(java.lang.String format)  
      protected java.security.spec.AlgorithmParameterSpec localEngineGetParameterSpec​(java.lang.Class paramSpec)  
      • Methods inherited from class java.lang.Object

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

      • AlgorithmParametersSpi

        public AlgorithmParametersSpi()
    • Method Detail

      • isASN1FormatString

        protected boolean isASN1FormatString​(java.lang.String format)
      • engineGetParameterSpec

        protected java.security.spec.AlgorithmParameterSpec engineGetParameterSpec​(java.lang.Class paramSpec)
                                                                            throws java.security.spec.InvalidParameterSpecException
        Specified by:
        engineGetParameterSpec in class java.security.AlgorithmParametersSpi
        Throws:
        java.security.spec.InvalidParameterSpecException
      • engineGetEncoded

        protected byte[] engineGetEncoded()
        Return the X.509 ASN.1 structure GOST3410Parameter.
          GOST3410Parameter ::= SEQUENCE {
                           prime INTEGER, -- p
                           subprime INTEGER, -- q
                           base INTEGER, -- a}
         
        Specified by:
        engineGetEncoded in class java.security.AlgorithmParametersSpi
      • engineGetEncoded

        protected byte[] engineGetEncoded​(java.lang.String format)
        Specified by:
        engineGetEncoded in class java.security.AlgorithmParametersSpi
      • localEngineGetParameterSpec

        protected java.security.spec.AlgorithmParameterSpec localEngineGetParameterSpec​(java.lang.Class paramSpec)
                                                                                 throws java.security.spec.InvalidParameterSpecException
        Throws:
        java.security.spec.InvalidParameterSpecException
      • engineInit

        protected void engineInit​(java.security.spec.AlgorithmParameterSpec paramSpec)
                           throws java.security.spec.InvalidParameterSpecException
        Specified by:
        engineInit in class java.security.AlgorithmParametersSpi
        Throws:
        java.security.spec.InvalidParameterSpecException
      • engineInit

        protected void engineInit​(byte[] params)
                           throws java.io.IOException
        Specified by:
        engineInit in class java.security.AlgorithmParametersSpi
        Throws:
        java.io.IOException
      • engineInit

        protected void engineInit​(byte[] params,
                                  java.lang.String format)
                           throws java.io.IOException
        Specified by:
        engineInit in class java.security.AlgorithmParametersSpi
        Throws:
        java.io.IOException
      • engineToString

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