B
- payload type, either Claims
or byte[]
content.public interface Jwe<B> extends ProtectedJwt<JweHeader,B>
Modifier and Type | Field and Description |
---|---|
static JwtVisitor<Jwe<Claims>> |
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[]>> |
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 . |
UNSECURED_CLAIMS, UNSECURED_CONTENT
Modifier and Type | Method and Description |
---|---|
byte[] |
getInitializationVector()
Returns the Initialization Vector used during JWE encryption and decryption.
|
accept, getBody, getHeader, getPayload
getDigest
static final JwtVisitor<Jwe<byte[]>> CONTENT
byte[]
array payload, and rejects all others with an
UnsupportedJwtException
.SupportedJwtVisitor.onDecryptedContent(Jwe)
static final JwtVisitor<Jwe<Claims>> CLAIMS
Claims
payload, and rejects all others with an
UnsupportedJwtException
.SupportedJwtVisitor.onDecryptedClaims(Jwe)
Copyright © 2014–2025 jsonwebtoken.io. All rights reserved.