Class SignatureSpi

    • Constructor Detail

      • SignatureSpi

        public SignatureSpi()
    • Method Detail

      • engineInitVerify

        protected void engineInitVerify​(java.security.PublicKey publicKey)
                                 throws java.security.InvalidKeyException
        Specified by:
        engineInitVerify in class java.security.SignatureSpi
        Throws:
        java.security.InvalidKeyException
      • engineInitSign

        protected void engineInitSign​(java.security.PrivateKey privateKey)
                               throws java.security.InvalidKeyException
        Specified by:
        engineInitSign in class java.security.SignatureSpi
        Throws:
        java.security.InvalidKeyException
      • engineUpdate

        protected void engineUpdate​(byte b)
                             throws java.security.SignatureException
        Specified by:
        engineUpdate in class java.security.SignatureSpi
        Throws:
        java.security.SignatureException
      • engineUpdate

        protected void engineUpdate​(byte[] b,
                                    int off,
                                    int len)
                             throws java.security.SignatureException
        Specified by:
        engineUpdate in class java.security.SignatureSpi
        Throws:
        java.security.SignatureException
      • engineSign

        protected byte[] engineSign()
                             throws java.security.SignatureException
        Specified by:
        engineSign in class java.security.SignatureSpi
        Throws:
        java.security.SignatureException
      • engineVerify

        protected boolean engineVerify​(byte[] sigBytes)
                                throws java.security.SignatureException
        Specified by:
        engineVerify in class java.security.SignatureSpi
        Throws:
        java.security.SignatureException
      • engineSetParameter

        protected void engineSetParameter​(java.security.spec.AlgorithmParameterSpec params)
        Overrides:
        engineSetParameter in class java.security.SignatureSpi
      • engineGetParameters

        protected java.security.AlgorithmParameters engineGetParameters()
        Overrides:
        engineGetParameters in class java.security.SignatureSpi
      • engineSetParameter

        protected void engineSetParameter​(java.lang.String param,
                                          java.lang.Object value)
        Deprecated.
        replaced with #engineSetParameter(java.security.spec.AlgorithmParameterSpec)
        Specified by:
        engineSetParameter in class java.security.SignatureSpi
      • engineGetParameter

        protected java.lang.Object engineGetParameter​(java.lang.String param)
        Deprecated.
        Specified by:
        engineGetParameter in class java.security.SignatureSpi