com.auth0.jwt.exceptions.SignatureVerificationException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-jwt Show documentation
Show all versions of java-jwt Show documentation
Java implementation of JSON Web Token (JWT)
package com.auth0.jwt.exceptions;
import com.auth0.jwt.algorithms.Algorithm;
/**
* The exception that is thrown if the Signature verification fails.
*/
public class SignatureVerificationException extends JWTVerificationException {
public SignatureVerificationException(Algorithm algorithm) {
this(algorithm, null);
}
public SignatureVerificationException(Algorithm algorithm, Throwable cause) {
super("The Token's Signature resulted invalid when verified using the Algorithm: " + algorithm, cause);
}
}