| Modifier and Type | Field and Description |
|---|---|
static String |
INCORRECT_EXPECTED_CLAIM_MESSAGE_TEMPLATE |
static String |
MISSING_EXPECTED_CLAIM_VALUE_MESSAGE_TEMPLATE |
static String |
MISSING_JWE_ALG_MSG |
static String |
MISSING_JWE_DIGEST_MSG_FMT |
static String |
MISSING_JWS_ALG_MSG |
static String |
MISSING_JWS_DIGEST_MSG_FMT |
parse, parse, parsepublic static final String INCORRECT_EXPECTED_CLAIM_MESSAGE_TEMPLATE
public static final String MISSING_EXPECTED_CLAIM_VALUE_MESSAGE_TEMPLATE
public static final String MISSING_JWS_ALG_MSG
public static final String MISSING_JWE_ALG_MSG
public static final String MISSING_JWS_DIGEST_MSG_FMT
public static final String MISSING_JWE_DIGEST_MSG_FMT
public boolean isSigned(CharSequence compact)
public <T> T parse(CharSequence compact, JwtHandler<T> handler)
public Jwt<Header,byte[]> parseContentJwt(CharSequence jwt)
parseContentJwt in interface JwtParserpublic Jwt<Header,Claims> parseClaimsJwt(CharSequence jwt)
parseClaimsJwt in interface JwtParserpublic Jws<byte[]> parseContentJws(CharSequence jws)
parseContentJws in interface JwtParserpublic Jws<Claims> parseClaimsJws(CharSequence jws)
parseClaimsJws in interface JwtParserpublic Jwt<Header,byte[]> parseUnsecuredContent(CharSequence jwt) throws JwtException, IllegalArgumentException
parseUnsecuredContent in interface JwtParserJwtExceptionIllegalArgumentExceptionpublic Jwt<Header,Claims> parseUnsecuredClaims(CharSequence jwt) throws JwtException, IllegalArgumentException
parseUnsecuredClaims in interface JwtParserJwtExceptionIllegalArgumentExceptionpublic Jws<byte[]> parseSignedContent(CharSequence compact)
parseSignedContent in interface JwtParserpublic Jws<Claims> parseSignedClaims(CharSequence compact)
parseSignedClaims in interface JwtParserpublic Jws<byte[]> parseSignedContent(CharSequence jws, byte[] unencodedPayload)
parseSignedContent in interface JwtParserpublic Jws<byte[]> parseSignedContent(CharSequence jws, InputStream unencodedPayload)
parseSignedContent in interface JwtParserpublic Jws<Claims> parseSignedClaims(CharSequence jws, byte[] unencodedPayload)
parseSignedClaims in interface JwtParserpublic Jws<Claims> parseSignedClaims(CharSequence jws, InputStream unencodedPayload)
parseSignedClaims in interface JwtParserpublic Jwe<byte[]> parseEncryptedContent(CharSequence compact) throws JwtException
parseEncryptedContent in interface JwtParserJwtExceptionpublic Jwe<Claims> parseEncryptedClaims(CharSequence compact) throws JwtException
parseEncryptedClaims in interface JwtParserJwtExceptionprotected byte[] decode(CharSequence base64UrlEncoded, String name)
protected Map<String,?> deserialize(InputStream in, String name)
Copyright © 2014–2024 jsonwebtoken.io. All rights reserved.