@@ -73,38 +73,48 @@ try {
7373
7474## Asymmetric key types
7575
76- The following table lists the asymmetric key types recognized by the
77- [ ` KeyObject ` ] [ ] API and the export/import formats supported for each key type.
78-
79- | Key Type | Description | OID | ` 'pem' ` | ` 'der' ` | ` 'jwk' ` | ` 'raw-public' ` | ` 'raw-private' ` | ` 'raw-seed' ` |
80- | ---------------------------------- | ------------------ | ----------------------- | ------- | ------- | ------- | -------------- | --------------- | ------------ |
81- | ` 'dh' ` | Diffie-Hellman | 1.2.840.113549.1.3.1 | β | β | | | | |
82- | ` 'dsa' ` | DSA | 1.2.840.10040.4.1 | β | β | | | | |
83- | ` 'ec' ` | Elliptic curve | 1.2.840.10045.2.1 | β | β | β | β | β | |
84- | ` 'ed25519' ` | Ed25519 | 1.3.101.112 | β | β | β | β | β | |
85- | ` 'ed448' ` | Ed448 | 1.3.101.113 | β | β | β | β | β | |
86- | ` 'ml-dsa-44' ` [ ^ openssl35 ] | ML-DSA-44 | 2.16.840.1.101.3.4.3.17 | β | β | β | β | | β |
87- | ` 'ml-dsa-65' ` [ ^ openssl35 ] | ML-DSA-65 | 2.16.840.1.101.3.4.3.18 | β | β | β | β | | β |
88- | ` 'ml-dsa-87' ` [ ^ openssl35 ] | ML-DSA-87 | 2.16.840.1.101.3.4.3.19 | β | β | β | β | | β |
89- | ` 'ml-kem-512' ` [ ^ openssl35 ] | ML-KEM-512 | 2.16.840.1.101.3.4.4.1 | β | β | β | β | | β |
90- | ` 'ml-kem-768' ` [ ^ openssl35 ] | ML-KEM-768 | 2.16.840.1.101.3.4.4.2 | β | β | β | β | | β |
91- | ` 'ml-kem-1024' ` [ ^ openssl35 ] | ML-KEM-1024 | 2.16.840.1.101.3.4.4.3 | β | β | β | β | | β |
92- | ` 'rsa-pss' ` | RSA PSS | 1.2.840.113549.1.1.10 | β | β | | | | |
93- | ` 'rsa' ` | RSA | 1.2.840.113549.1.1.1 | β | β | β | | | |
94- | ` 'slh-dsa-sha2-128f' ` [ ^ openssl35 ] | SLH-DSA-SHA2-128f | 2.16.840.1.101.3.4.3.21 | β | β | β | β | β | |
95- | ` 'slh-dsa-sha2-128s' ` [ ^ openssl35 ] | SLH-DSA-SHA2-128s | 2.16.840.1.101.3.4.3.20 | β | β | β | β | β | |
96- | ` 'slh-dsa-sha2-192f' ` [ ^ openssl35 ] | SLH-DSA-SHA2-192f | 2.16.840.1.101.3.4.3.23 | β | β | β | β | β | |
97- | ` 'slh-dsa-sha2-192s' ` [ ^ openssl35 ] | SLH-DSA-SHA2-192s | 2.16.840.1.101.3.4.3.22 | β | β | β | β | β | |
98- | ` 'slh-dsa-sha2-256f' ` [ ^ openssl35 ] | SLH-DSA-SHA2-256f | 2.16.840.1.101.3.4.3.25 | β | β | β | β | β | |
99- | ` 'slh-dsa-sha2-256s' ` [ ^ openssl35 ] | SLH-DSA-SHA2-256s | 2.16.840.1.101.3.4.3.24 | β | β | β | β | β | |
100- | ` 'slh-dsa-shake-128f' ` [ ^ openssl35 ] | SLH-DSA-SHAKE-128f | 2.16.840.1.101.3.4.3.27 | β | β | β | β | β | |
101- | ` 'slh-dsa-shake-128s' ` [ ^ openssl35 ] | SLH-DSA-SHAKE-128s | 2.16.840.1.101.3.4.3.26 | β | β | β | β | β | |
102- | ` 'slh-dsa-shake-192f' ` [ ^ openssl35 ] | SLH-DSA-SHAKE-192f | 2.16.840.1.101.3.4.3.29 | β | β | β | β | β | |
103- | ` 'slh-dsa-shake-192s' ` [ ^ openssl35 ] | SLH-DSA-SHAKE-192s | 2.16.840.1.101.3.4.3.28 | β | β | β | β | β | |
104- | ` 'slh-dsa-shake-256f' ` [ ^ openssl35 ] | SLH-DSA-SHAKE-256f | 2.16.840.1.101.3.4.3.31 | β | β | β | β | β | |
105- | ` 'slh-dsa-shake-256s' ` [ ^ openssl35 ] | SLH-DSA-SHAKE-256s | 2.16.840.1.101.3.4.3.30 | β | β | β | β | β | |
106- | ` 'x25519' ` | X25519 | 1.3.101.110 | β | β | β | β | β | |
107- | ` 'x448' ` | X448 | 1.3.101.111 | β | β | β | β | β | |
76+ The following lists group the asymmetric key types recognized by the
77+ [ ` KeyObject ` ] [ ] API by the complete set of formats supported for importing and
78+ exporting each type.
79+
80+ ** Formats:** ` 'pem' ` , ` 'der' `
81+
82+ * ** ` 'dh' ` (Diffie-Hellman)** β OID ` 1.2.840.113549.1.3.1 `
83+ * ** ` 'dsa' ` ** β OID ` 1.2.840.10040.4.1 `
84+ * ** ` 'rsa-pss' ` ** β OID ` 1.2.840.113549.1.1.10 `
85+
86+ ** Formats:** ` 'pem' ` , ` 'der' ` , ` 'jwk' `
87+
88+ * ** ` 'rsa' ` ** β OID ` 1.2.840.113549.1.1.1 `
89+
90+ ** Formats:** ` 'pem' ` , ` 'der' ` , ` 'jwk' ` , ` 'raw-public' ` , ` 'raw-private' `
91+
92+ * ** ` 'ec' ` (Elliptic curve)** β OID ` 1.2.840.10045.2.1 `
93+ * ** ` 'ed25519' ` ** β OID ` 1.3.101.112 `
94+ * ** ` 'ed448' ` ** β OID ` 1.3.101.113 `
95+ * ** ` 'slh-dsa-sha2-128f' ` [ ^ openssl35 ] ** β OID ` 2.16.840.1.101.3.4.3.21 `
96+ * ** ` 'slh-dsa-sha2-128s' ` [ ^ openssl35 ] ** β OID ` 2.16.840.1.101.3.4.3.20 `
97+ * ** ` 'slh-dsa-sha2-192f' ` [ ^ openssl35 ] ** β OID ` 2.16.840.1.101.3.4.3.23 `
98+ * ** ` 'slh-dsa-sha2-192s' ` [ ^ openssl35 ] ** β OID ` 2.16.840.1.101.3.4.3.22 `
99+ * ** ` 'slh-dsa-sha2-256f' ` [ ^ openssl35 ] ** β OID ` 2.16.840.1.101.3.4.3.25 `
100+ * ** ` 'slh-dsa-sha2-256s' ` [ ^ openssl35 ] ** β OID ` 2.16.840.1.101.3.4.3.24 `
101+ * ** ` 'slh-dsa-shake-128f' ` [ ^ openssl35 ] ** β OID ` 2.16.840.1.101.3.4.3.27 `
102+ * ** ` 'slh-dsa-shake-128s' ` [ ^ openssl35 ] ** β OID ` 2.16.840.1.101.3.4.3.26 `
103+ * ** ` 'slh-dsa-shake-192f' ` [ ^ openssl35 ] ** β OID ` 2.16.840.1.101.3.4.3.29 `
104+ * ** ` 'slh-dsa-shake-192s' ` [ ^ openssl35 ] ** β OID ` 2.16.840.1.101.3.4.3.28 `
105+ * ** ` 'slh-dsa-shake-256f' ` [ ^ openssl35 ] ** β OID ` 2.16.840.1.101.3.4.3.31 `
106+ * ** ` 'slh-dsa-shake-256s' ` [ ^ openssl35 ] ** β OID ` 2.16.840.1.101.3.4.3.30 `
107+ * ** ` 'x25519' ` ** β OID ` 1.3.101.110 `
108+ * ** ` 'x448' ` ** β OID ` 1.3.101.111 `
109+
110+ ** Formats:** ` 'pem' ` , ` 'der' ` , ` 'jwk' ` , ` 'raw-public' ` , ` 'raw-seed' `
111+
112+ * ** ` 'ml-dsa-44' ` [ ^ openssl35 ] ** β OID ` 2.16.840.1.101.3.4.3.17 `
113+ * ** ` 'ml-dsa-65' ` [ ^ openssl35 ] ** β OID ` 2.16.840.1.101.3.4.3.18 `
114+ * ** ` 'ml-dsa-87' ` [ ^ openssl35 ] ** β OID ` 2.16.840.1.101.3.4.3.19 `
115+ * ** ` 'ml-kem-512' ` [ ^ openssl35 ] ** β OID ` 2.16.840.1.101.3.4.4.1 `
116+ * ** ` 'ml-kem-768' ` [ ^ openssl35 ] ** β OID ` 2.16.840.1.101.3.4.4.2 `
117+ * ** ` 'ml-kem-1024' ` [ ^ openssl35 ] ** β OID ` 2.16.840.1.101.3.4.4.3 `
108118
109119### Key formats
110120
0 commit comments