Class JwsAlgorithms
java.lang.Object
org.springframework.security.oauth2.jose.jws.JwsAlgorithms
The cryptographic algorithms defined by the JSON Web Algorithms (JWA) specification and
used by JSON Web Signature (JWS) to digitally sign or create a MAC of the contents of
the JWS Protected Header and JWS Payload.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
ECDSA using P-256 and SHA-256 (Recommended+)static final String
ECDSA using P-384 and SHA-384 (Optional)static final String
ECDSA using P-521 and SHA-512 (Optional)static final String
HMAC using SHA-256 (Required)static final String
HMAC using SHA-384 (Optional)static final String
HMAC using SHA-512 (Optional)static final String
RSASSA-PSS using SHA-256 and MGF1 with SHA-256 (Optional)static final String
RSASSA-PSS using SHA-384 and MGF1 with SHA-384 (Optional)static final String
RSASSA-PSS using SHA-512 and MGF1 with SHA-512 (Optional)static final String
RSASSA-PKCS1-v1_5 using SHA-256 (Recommended)static final String
RSASSA-PKCS1-v1_5 using SHA-384 (Optional)static final String
RSASSA-PKCS1-v1_5 using SHA-512 (Optional) -
Method Summary
-
Field Details
-
HS256
HMAC using SHA-256 (Required)- See Also:
-
HS384
HMAC using SHA-384 (Optional)- See Also:
-
HS512
HMAC using SHA-512 (Optional)- See Also:
-
RS256
RSASSA-PKCS1-v1_5 using SHA-256 (Recommended)- See Also:
-
RS384
RSASSA-PKCS1-v1_5 using SHA-384 (Optional)- See Also:
-
RS512
RSASSA-PKCS1-v1_5 using SHA-512 (Optional)- See Also:
-
ES256
ECDSA using P-256 and SHA-256 (Recommended+)- See Also:
-
ES384
ECDSA using P-384 and SHA-384 (Optional)- See Also:
-
ES512
ECDSA using P-521 and SHA-512 (Optional)- See Also:
-
PS256
RSASSA-PSS using SHA-256 and MGF1 with SHA-256 (Optional)- See Also:
-
PS384
RSASSA-PSS using SHA-384 and MGF1 with SHA-384 (Optional)- See Also:
-
PS512
RSASSA-PSS using SHA-512 and MGF1 with SHA-512 (Optional)- See Also:
-