| Modifier and Type | Method and Description |
|---|---|
boolean |
canVerify(Algorithm algorithm) |
static HMACVerifier |
newVerifier(String secret)
Return a new instance of the HMAC Verifier with the provided secret.
|
void |
verify(Algorithm algorithm,
byte[] payload,
byte[] signature)
Verify the signature of the encoded JWT payload.
|
public static HMACVerifier newVerifier(String secret)
secret - The secret.public boolean canVerify(Algorithm algorithm)
Copyright © 2017. All rights reserved.