public interface JwsHeader extends ProtectedHeader
Modifier and Type | Field and Description |
---|---|
static String |
ALGORITHM
Deprecated.
since 0.12.0 in favor of
Header.getAlgorithm() |
static String |
CRITICAL
Deprecated.
since 0.12.0 in favor of
ProtectedHeader.getCritical() |
static String |
JSON_WEB_KEY
Deprecated.
since 0.12.0 in favor of
ProtectedHeader.getJwk() |
static String |
JWK_SET_URL
Deprecated.
since 0.12.0 in favor of
ProtectedHeader.getJwkSetUrl() |
static String |
KEY_ID
Deprecated.
since 0.12.0 in favor of
ProtectedHeader.getKeyId() |
static String |
X509_CERT_CHAIN
Deprecated.
since 0.12.0 in favor of
X509Accessor.getX509Chain() |
static String |
X509_CERT_SHA1_THUMBPRINT
Deprecated.
since 0.12.0 in favor of
X509Accessor.getX509Sha1Thumbprint() |
static String |
X509_CERT_SHA256_THUMBPRINT
Deprecated.
since 0.12.0 in favor of
X509Accessor.getX509Sha256Thumbprint() |
static String |
X509_URL
Deprecated.
since 0.12.0 in favor of
X509Accessor.getX509Url() |
COMPRESSION_ALGORITHM, CONTENT_TYPE, DEPRECATED_COMPRESSION_ALGORITHM, JWT_TYPE, TYPE
Modifier and Type | Method and Description |
---|---|
boolean |
isPayloadEncoded()
Returns
true if the payload is Base64Url-encoded per standard JWS rules, or false if the
RFC 7797: JSON Web Signature (JWS) Unencoded Payload
Option has been specified. |
getCritical, getJwk, getJwkSetUrl, getKeyId
getAlgorithm, getCompressionAlgorithm, getContentType, getType
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
getX509Chain, getX509Sha1Thumbprint, getX509Sha256Thumbprint, getX509Url
@Deprecated static final String ALGORITHM
Header.getAlgorithm()
alg
@Deprecated static final String JWK_SET_URL
ProtectedHeader.getJwkSetUrl()
jku
@Deprecated static final String JSON_WEB_KEY
ProtectedHeader.getJwk()
jwk
@Deprecated static final String KEY_ID
ProtectedHeader.getKeyId()
kid
@Deprecated static final String X509_URL
X509Accessor.getX509Url()
x5u
@Deprecated static final String X509_CERT_CHAIN
X509Accessor.getX509Chain()
x5c
@Deprecated static final String X509_CERT_SHA1_THUMBPRINT
X509Accessor.getX509Sha1Thumbprint()
x5t
@Deprecated static final String X509_CERT_SHA256_THUMBPRINT
X509Accessor.getX509Sha256Thumbprint()
x5t#S256
@Deprecated static final String CRITICAL
ProtectedHeader.getCritical()
crit
boolean isPayloadEncoded()
true
if the payload is Base64Url-encoded per standard JWS rules, or false
if the
RFC 7797: JSON Web Signature (JWS) Unencoded Payload
Option has been specified.true
if the payload is Base64Url-encoded per standard JWS rules, or false
if the
RFC 7797: JSON Web Signature (JWS) Unencoded Payload
Option has been specified.Copyright © 2014–2023 jsonwebtoken.io. All rights reserved.