Class HashSignatureSpi

    • Method Detail

      • verifyInit

        protected void verifyInit​(java.security.PublicKey publicKey)
                           throws java.security.InvalidKeyException
        Specified by:
        verifyInit in class BaseDeterministicOrRandomSignature
        Throws:
        java.security.InvalidKeyException
      • signInit

        protected void signInit​(java.security.PrivateKey privateKey,
                                java.security.SecureRandom random)
                         throws java.security.InvalidKeyException
        Specified by:
        signInit in class BaseDeterministicOrRandomSignature
        Throws:
        java.security.InvalidKeyException
      • updateEngine

        protected void updateEngine​(byte[] buf,
                                    int off,
                                    int len)
                             throws java.security.SignatureException
        Specified by:
        updateEngine in class BaseDeterministicOrRandomSignature
        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