public class JWTUtility extends Object
| Constructor and Description |
|---|
JWTUtility() |
| Modifier and Type | Method and Description |
|---|---|
static RSAPublicKey |
getRSAPublicKeyFromJwk(String jwkJsonString) |
static com.nimbusds.jwt.SignedJWT |
parse(String jwtValue) |
static boolean |
verifyJwt(com.nimbusds.jwt.SignedJWT signedJWT,
RSAPublicKey publicKey) |
public static com.nimbusds.jwt.SignedJWT parse(String jwtValue) throws InvalidJwtException
InvalidJwtExceptionpublic static boolean verifyJwt(com.nimbusds.jwt.SignedJWT signedJWT,
RSAPublicKey publicKey)
throws JwtSignatureValidationException
JwtSignatureValidationExceptionpublic static RSAPublicKey getRSAPublicKeyFromJwk(String jwkJsonString) throws ParseException, com.nimbusds.jose.JOSEException, InvalidJwkException
ParseExceptioncom.nimbusds.jose.JOSEExceptionInvalidJwkExceptionCopyright © 2026. All rights reserved.