Class JoseHeaderNames
java.lang.Object
org.springframework.security.oauth2.jwt.JoseHeaderNames
The Registered Header Parameter Names defined by the JSON Web Token (JWT), JSON Web
Signature (JWS) and JSON Web Encryption (JWE) specifications that may be contained in
the JOSE Header of a JWT.
- Since:
- 5.6
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringalg- the algorithm header identifies the cryptographic algorithm used to secure a JWS or JWEstatic final Stringcrit- the critical header indicates that extensions to the JWS/JWE/JWA specifications are being used that MUST be understood and processedstatic final Stringcty- the content type header is used by JWS/JWE applications to declare the media type of the secured content (the payload)static final Stringjku- the JWK Set URL header is a URI that refers to a resource for a set of JSON-encoded public keys, one of which corresponds to the key used to digitally sign a JWS or encrypt a JWEstatic final Stringjwk- the JSON Web Key header is the public key that corresponds to the key used to digitally sign a JWS or encrypt a JWEstatic final Stringkid- the key ID header is a hint indicating which key was used to secure a JWS or JWEstatic final Stringtyp- the type header is used by JWS/JWE applications to declare the media type of a JWS/JWEstatic final Stringx5c- the X.509 certificate chain header contains the X.509 public key certificate or certificate chain corresponding to the key used to digitally sign a JWS or encrypt a JWEstatic final Stringx5t- the X.509 certificate SHA-1 thumbprint header is a base64url-encoded SHA-1 thumbprint (a.k.a.static final Stringx5t#S256- the X.509 certificate SHA-256 thumbprint header is a base64url-encoded SHA-256 thumbprint (a.k.a.static final Stringx5u- the X.509 URL header is a URI that refers to a resource for the X.509 public key certificate or certificate chain corresponding to the key used to digitally sign a JWS or encrypt a JWE -
Method Summary
-
Field Details
-
ALG
alg- the algorithm header identifies the cryptographic algorithm used to secure a JWS or JWE- See Also:
-
JKU
jku- the JWK Set URL header is a URI that refers to a resource for a set of JSON-encoded public keys, one of which corresponds to the key used to digitally sign a JWS or encrypt a JWE- See Also:
-
JWK
jwk- the JSON Web Key header is the public key that corresponds to the key used to digitally sign a JWS or encrypt a JWE- See Also:
-
KID
kid- the key ID header is a hint indicating which key was used to secure a JWS or JWE- See Also:
-
X5U
x5u- the X.509 URL header is a URI that refers to a resource for the X.509 public key certificate or certificate chain corresponding to the key used to digitally sign a JWS or encrypt a JWE- See Also:
-
X5C
x5c- the X.509 certificate chain header contains the X.509 public key certificate or certificate chain corresponding to the key used to digitally sign a JWS or encrypt a JWE- See Also:
-
X5T
x5t- the X.509 certificate SHA-1 thumbprint header is a base64url-encoded SHA-1 thumbprint (a.k.a. digest) of the DER encoding of the X.509 certificate corresponding to the key used to digitally sign a JWS or encrypt a JWE- See Also:
-
X5T_S256
x5t#S256- the X.509 certificate SHA-256 thumbprint header is a base64url-encoded SHA-256 thumbprint (a.k.a. digest) of the DER encoding of the X.509 certificate corresponding to the key used to digitally sign a JWS or encrypt a JWE- See Also:
-
TYP
typ- the type header is used by JWS/JWE applications to declare the media type of a JWS/JWE- See Also:
-
CTY
cty- the content type header is used by JWS/JWE applications to declare the media type of the secured content (the payload)- See Also:
-
CRIT
crit- the critical header indicates that extensions to the JWS/JWE/JWA specifications are being used that MUST be understood and processed- See Also:
-