| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 2b43b78 commit 4b2c189
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -73,38 +73,48 @@ try { | |||
| 73 | 73 | ||
| 74 | 74 | ## Asymmetric key types | |
| 75 | 75 | ||
| 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` | ||
| 108 | 118 | ||
| 109 | 119 | ### Key formats | |
| 110 | 120 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments