Interface SignatureVerifierSimple

    • Method Detail

      • verifyAfterUpdate

        default boolean verifyAfterUpdate​(byte[] signature)
        Parameters:
        signature - the byte array with the signature as raw data.
        Returns:
        true if the given signature is valid, false otherwise.
      • verifyAfterUpdate

        boolean verifyAfterUpdate​(byte[] signature,
                                  int offset,
                                  int length)
        Parameters:
        signature - the byte array with the signature as raw data.
        offset - the index where to start reading data from signature.
        length - the number of bytes to read from signature.
        Returns:
        true if the given signature is valid, false otherwise.
      • verify

        default boolean verify​(byte[] input,
                               byte[] signature)
        Parameters:
        input - the message data for which the signature was created.
        signature - the byte array with the signature as raw data.
        Returns:
        true if the given signature is valid, false otherwise.
      • verify

        default boolean verify​(byte[] input,
                               byte[] signature,
                               int signatureOffset,
                               int signatureLength)
        Parameters:
        input - the message data for which the signature was created.
        signature - the byte array with the signature as raw data.
        signatureOffset - the index where to start reading data from signature.
        signatureLength - the number of bytes to read from signature.
        Returns:
        true if the given signature is valid, false otherwise.
      • verify

        default boolean verify​(byte[] input,
                               int inputOffset,
                               int inputLength,
                               byte[] signature,
                               int signatureOffset,
                               int signatureLength)
        Parameters:
        input - the message data for which the signature was created.
        inputOffset - the index where to start reading data from input.
        inputLength - the number of bytes to read from input.
        signature - the byte array with the signature as raw data.
        signatureOffset - the index where to start reading data from signature.
        signatureLength - the number of bytes to read from signature.
        Returns:
        true if the given signature is valid, false otherwise.