public interface SignatureVerifierSimple extends SignatureProcessor
SignatureProcessor with ability to verify a message with a
given expected signature.| Modifier and Type | Method and Description |
|---|---|
default boolean |
verify(byte[] input,
byte[] signature) |
default boolean |
verify(byte[] input,
byte[] signature,
int signatureOffset,
int signatureLength) |
default boolean |
verify(byte[] input,
int inputOffset,
int inputLength,
byte[] signature,
int signatureOffset,
int signatureLength) |
default boolean |
verifyAfterUpdate(byte[] signature) |
boolean |
verifyAfterUpdate(byte[] signature,
int offset,
int length) |
update, update, updateprocess, process, process, process, resetgetAlgorithmdefault boolean verifyAfterUpdate(byte[] signature)
signature - the byte array with the signature as raw data.true if the given signature is valid, false otherwise.boolean verifyAfterUpdate(byte[] signature,
int offset,
int length)
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.true if the given signature is valid, false otherwise.default boolean verify(byte[] input,
byte[] 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(byte[] input,
byte[] signature,
int signatureOffset,
int signatureLength)
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.true if the given signature is valid, false otherwise.default boolean verify(byte[] input,
int inputOffset,
int inputLength,
byte[] signature,
int signatureOffset,
int signatureLength)
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.true if the given signature is valid, false otherwise.Copyright © 2001–2019 mmm-Team. All rights reserved.