Class AlgorithmParametersSpi

    • Constructor Detail

      • AlgorithmParametersSpi

        public AlgorithmParametersSpi()
    • Method Detail

      • engineGetEncoded

        protected byte[] engineGetEncoded()
        Return the X.509 ASN.1 structure ElGamalParameter.
          ElGamalParameter ::= SEQUENCE {
                           prime INTEGER, -- p
                           base INTEGER, -- g}
         
        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
        Specified by:
        localEngineGetParameterSpec in class BaseAlgorithmParameters
        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