@@ -33,25 +33,25 @@ JSON Web Signature
3333``joserfc.jws `` module supports algorithms from RFC7518, RFC8037,
3434and RFC8812. You MUST specify the correct key type for each algorithm.
3535
36- ============== ========== ==================
37- Algorithm name Key Type Recommended
38- ============== ========== ==================
39- none OctKey :bdg-danger: `No `
40- HS256 OctKey :bdg-success: `Yes `
41- HS384 OctKey :bdg-danger: ` No `
42- HS512 OctKey :bdg-danger: ` No `
43- RS256 RSAKey :bdg-success: `Yes `
44- RS384 RSAKey :bdg-danger: ` No `
45- RS512 RSAKey :bdg-danger: ` No `
46- ES256 ECKey :bdg-success: `Yes `
47- ES384 ECKey :bdg-danger: ` No `
48- ES512 ECKey :bdg-danger: ` No `
49- PS256 RSAKey :bdg-danger: ` No `
50- PS384 RSAKey :bdg-danger: ` No `
51- PS512 RSAKey :bdg-danger: ` No `
52- EdDSA OKPKey :bdg-danger: ` No `
53- ES256K ECKey :bdg-danger: ` No `
54- ============== ========== ==================
36+ ============== ========== ============================
37+ Algorithm name Key Type Requirements
38+ ============== ========== ============================
39+ none OctKey :bdg-danger: `Deprecated `
40+ HS256 OctKey :bdg-success: `Recommended `
41+ HS384 OctKey :bdg-muted: ` Optional `
42+ HS512 OctKey :bdg-muted: ` Optional `
43+ RS256 RSAKey :bdg-success: `Recommended `
44+ RS384 RSAKey :bdg-muted: ` Optional `
45+ RS512 RSAKey :bdg-muted: ` Optional `
46+ ES256 ECKey :bdg-success: `Recommended `
47+ ES384 ECKey :bdg-muted: ` Optional `
48+ ES512 ECKey :bdg-muted: ` Optional `
49+ PS256 RSAKey :bdg-muted: ` Optional `
50+ PS384 RSAKey :bdg-muted: ` Optional `
51+ PS512 RSAKey :bdg-muted: ` Optional `
52+ EdDSA OKPKey :bdg-muted: ` Optional `
53+ ES256K ECKey :bdg-muted: ` Optional `
54+ ============== ========== ============================
5555
5656.. note ::
5757 ``EdDSA `` algorithm only accepts ``OKPKey `` with "crv" of "Ed25519" and "Ed448".
@@ -84,27 +84,27 @@ JSON Web Encryption
8484``joserfc.jwe `` module supports algorithms from RFC7518, and drafts of
8585``ECDH-1PU ``. You MUST specify the correct key type for each algorithm.
8686
87- =================== ========== ==================
88- Algorithm name Key Type Recommended
89- =================== ========== ==================
90- dir OctKey :bdg-success: `Yes `
91- A128KW OctKey :bdg-success: `Yes `
92- A192KW OctKey :bdg-danger: ` No `
93- A256KW OctKey :bdg-success: `Yes `
94- RSA1_5 RSAKey :bdg-danger: `No `
95- RSA-OAEP RSAKey :bdg-success: `Yes `
96- RSA-OAEP-256 RSAKey :bdg-danger: ` No `
97- ECDH-ES ECKey :bdg-success: `Yes `
98- ECDH-ES+A128KW ECKey :bdg-success: `Yes `
99- ECDH-ES+A192KW ECKey :bdg-danger: ` No `
100- ECDH-ES+A256KW ECKey :bdg-success: `Yes `
101- A128GCMKW OctKey :bdg-danger: ` No `
102- A192GCMKW OctKey :bdg-danger: ` No `
103- A256GCMKW OctKey :bdg-danger: ` No `
104- PBES2-HS256+A128KW RSAKey :bdg-danger: ` No `
105- PBES2-HS384+A192KW RSAKey :bdg-danger: ` No `
106- PBES2-HS512+A256KW RSAKey :bdg-danger: ` No `
107- =================== ========== ==================
87+ =================== ========== ===========================
88+ Algorithm name Key Type Requirements
89+ =================== ========== ===========================
90+ dir OctKey :bdg-success: `Recommended `
91+ A128KW OctKey :bdg-success: `Recommended `
92+ A192KW OctKey :bdg-muted: ` Optional `
93+ A256KW OctKey :bdg-success: `Recommended `
94+ RSA1_5 RSAKey :bdg-danger: `Deprecated `
95+ RSA-OAEP RSAKey :bdg-success: `Recommended `
96+ RSA-OAEP-256 RSAKey :bdg-muted: ` Optional `
97+ ECDH-ES ECKey :bdg-success: `Recommended `
98+ ECDH-ES+A128KW ECKey :bdg-success: `Recommended `
99+ ECDH-ES+A192KW ECKey :bdg-muted: ` Optional `
100+ ECDH-ES+A256KW ECKey :bdg-success: `Recommended `
101+ A128GCMKW OctKey :bdg-muted: ` Optional `
102+ A192GCMKW OctKey :bdg-muted: ` Optional `
103+ A256GCMKW OctKey :bdg-muted: ` Optional `
104+ PBES2-HS256+A128KW RSAKey :bdg-muted: ` Optional `
105+ PBES2-HS384+A192KW RSAKey :bdg-muted: ` Optional `
106+ PBES2-HS512+A256KW RSAKey :bdg-muted: ` Optional `
107+ =================== ========== ===========================
108108
109109All algorithms defined in RFC7518 for "enc" value are recommended, which
110110including:
0 commit comments