S - type of SignatureBinary.public interface SignatureVerifier<S extends SignatureBinary> extends SignatureVerifierSimple
SignatureProcessor with ability to verify a message with a given expected signature.| Modifier and Type | Method and Description |
|---|---|
default boolean |
verify(byte[] input,
int offset,
int length,
S signature) |
default boolean |
verify(byte[] input,
S signature) |
default boolean |
verify(CryptoBinary input,
S signature) |
default boolean |
verifyAfterUpdate(S signature) |
default boolean |
verifyUnsafe(byte[] input,
SignatureBinary signature) |
verify, verify, verify, verifyAfterUpdate, verifyAfterUpdateupdate, update, updateprocess, process, process, process, resetgetAlgorithmdefault boolean verifyAfterUpdate(S signature)
signature - the byte array with the signature as raw data.true if the given signature is valid, false otherwise.default boolean verify(byte[] input,
int offset,
int length,
S signature)
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.true if the given signature is valid, false otherwise.default boolean verify(byte[] input,
S signature)
input - the message data for which the signature was created.signature - the byte array with the signature as raw data.true if the given signature is valid, false otherwise.default boolean verifyUnsafe(byte[] input,
SignatureBinary signature)
input - the message data for which the signature was created.signature - the byte array with the signature as raw data.true if the given signature is valid, false otherwise.default boolean verify(CryptoBinary input, S signature)
input - the message data for which the signature was created. E.g. a Hash.signature - the byte array with the signature as raw data.true if the given signature is valid, false otherwise.Copyright © 2001–2019 mmm-Team. All rights reserved.