Interface SignatureVerifier<S extends SignatureBinary>

    • Method Detail

      • verifyAfterUpdate

        default boolean verifyAfterUpdate​(S signature)
        Parameters:
        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,
                               int offset,
                               int length,
                               S signature)
        Parameters:
        input - the message data for which the signature was created.
        offset - the index where to start reading data from input.
        length - the number of bytes to read from input.
        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,
                               S 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.
      • verifyUnsafe

        default boolean verifyUnsafe​(byte[] input,
                                     SignatureBinary 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​(CryptoBinary input,
                               S signature)
        Parameters:
        input - the message data for which the signature was created. E.g. a Hash.
        signature - the byte array with the signature as raw data.
        Returns:
        true if the given signature is valid, false otherwise.