Package | Description |
---|---|
io.jsonwebtoken |
Modifier and Type | Field and Description |
---|---|
static JwtVisitor<Jwe<Claims>> |
Jwe.CLAIMS
Visitor implementation that ensures the visited JWT is a JSON Web Encryption ('JWE') message with an
authenticated and decrypted
Claims payload, and rejects all others with an
UnsupportedJwtException . |
static JwtVisitor<Jwe<byte[]>> |
Jwe.CONTENT
Visitor implementation that ensures the visited JWT is a JSON Web Encryption ('JWE') message with an
authenticated and decrypted
byte[] array payload, and rejects all others with an
UnsupportedJwtException . |
Modifier and Type | Method and Description |
---|---|
Jwe<Claims> |
JwtParser.parseEncryptedClaims(CharSequence jwe)
Parses the
jwe argument, expected to be an encrypted Claims JWE. |
Jwe<byte[]> |
JwtParser.parseEncryptedContent(CharSequence jwe)
Parses the
jwe argument, expected to be an encrypted content JWE. |
Modifier and Type | Method and Description |
---|---|
T |
JwtHandler.onClaimsJwe(Jwe<Claims> jwe)
Deprecated.
This method is invoked when a
JwtParser determines that the parsed JWT is
a valid Claims JWE. |
T |
JwtHandlerAdapter.onClaimsJwe(Jwe<Claims> jwe) |
T |
JwtHandler.onContentJwe(Jwe<byte[]> jwe)
Deprecated.
This method is invoked when a
JwtParser determines that the parsed JWT is
a content JWE. |
T |
JwtHandlerAdapter.onContentJwe(Jwe<byte[]> jwe) |
T |
JwtHandlerAdapter.onDecryptedClaims(Jwe<Claims> jwe) |
T |
SupportedJwtVisitor.onDecryptedClaims(Jwe<Claims> jwe)
Handles an encountered JWE message that has been authenticated and decrypted, and has a
Claims payload. |
T |
JwtHandlerAdapter.onDecryptedContent(Jwe<byte[]> jwe) |
T |
SupportedJwtVisitor.onDecryptedContent(Jwe<byte[]> jwe)
Handles an encountered JWE message that has been authenticated and decrypted, and has byte[] array payload.
|
T |
JwtVisitor.visit(Jwe<?> jwe)
Handles an encountered JSON Web Encryption (aka 'JWE') message that has been authenticated and decrypted.
|
T |
SupportedJwtVisitor.visit(Jwe<?> jwe)
Handles an encountered JSON Web Encryption (aka 'JWE') message that has been authenticated and decrypted by
delegating to either
SupportedJwtVisitor.onDecryptedContent(Jwe) or SupportedJwtVisitor.onDecryptedClaims(Jwe) depending on the
payload type. |
Copyright © 2014–2025 jsonwebtoken.io. All rights reserved.