P
- the type of the JWS payload, either a byte[] or a Claims
instance.public interface Jws<P> extends ProtectedJwt<JwsHeader,P>
Modifier and Type | Field and Description |
---|---|
static JwtVisitor<Jws<Claims>> |
CLAIMS
Visitor implementation that ensures the visited JWT is a JSON Web Signature ('JWS') message with a
cryptographically authenticated/verified
Claims payload, and rejects all others with an
UnsupportedJwtException . |
static JwtVisitor<Jws<byte[]>> |
CONTENT
Visitor implementation that ensures the visited JWT is a JSON Web Signature ('JWS') message with a
cryptographically authenticated/verified
byte[] array payload, and rejects all others with an
UnsupportedJwtException . |
UNSECURED_CLAIMS, UNSECURED_CONTENT
Modifier and Type | Method and Description |
---|---|
String |
getSignature()
Deprecated.
since 0.12.0 in favor of
getDigest() . |
accept, getBody, getHeader, getPayload
getDigest
static final JwtVisitor<Jws<byte[]>> CONTENT
byte[]
array payload, and rejects all others with an
UnsupportedJwtException
.SupportedJwtVisitor.onVerifiedContent(Jws)
static final JwtVisitor<Jws<Claims>> CLAIMS
Claims
payload, and rejects all others with an
UnsupportedJwtException
.SupportedJwtVisitor.onVerifiedClaims(Jws)
@Deprecated String getSignature()
getDigest()
.Copyright © 2014–2023 jsonwebtoken.io. All rights reserved.