public interface Verifier
| Modifier and Type | Method and Description |
|---|---|
boolean |
canVerify(Algorithm algorithm) |
void |
verify(Algorithm algorithm,
byte[] message,
byte[] signature)
Verify the signature of the encoded JWT payload.
|
boolean canVerify(Algorithm algorithm)
algorithm - The algorithm required to verify the signature on this JWT.void verify(Algorithm algorithm, byte[] message, byte[] signature)
message - The JWT message. The header and claims, the first two segments of the dot separated JWT.signature - The signature to verify.MissingVerifierException - If no Signer has been provided to verify the JWT signature.Copyright © 2017. All rights reserved.