非对称密钥类型


🌐 Asymmetric key types

下表列出了 KeyObject API 识别的不对称密钥类型:

🌐 The following table lists the asymmetric key types recognized by the KeyObject API:

| 键类型 | 描述 | OID |

| --- | --- | --- |

| 'dh' | Diffie-Hellman | 1.2.840.113549.1.3.1 |

| 'dsa' | DSA | 1.2.840.10040.4.1 |

| 'ec' | 椭圆曲线 | 1.2.840.10045.2.1 |

| 'ed25519' | Ed25519 | 1.3.101.112 |

| 'ed448' | Ed448 | 1.3.101.113 |

| 'ml-dsa-44'1 | ML-DSA-44 | 2.16.840.1.101.3.4.3.17 |

| 'ml-dsa-65'1 | ML-DSA-65 | 2.16.840.1.101.3.4.3.18 |

| 'ml-dsa-87'1 | ML-DSA-87 | 2.16.840.1.101.3.4.3.19 |

| 'ml-kem-512'1 | ML-KEM-512 | 2.16.840.1.101.3.4.4.1 |

| 'ml-kem-768'1 | ML-KEM-768 | 2.16.840.1.101.3.4.4.2 |

| 'ml-kem-1024'1 | ML-KEM-1024 | 2.16.840.1.101.3.4.4.3 |

| 'rsa-pss' | RSA PSS | 1.2.840.113549.1.1.10 |

| 'rsa' | RSA | 1.2.840.113549.1.1.1 |

| 'slh-dsa-sha2-128f'1 | SLH-DSA-SHA2-128f | 2.16.840.1.101.3.4.3.21 |

| 'slh-dsa-sha2-128s'1 | SLH-DSA-SHA2-128s | 2.16.840.1.101.3.4.3.20 |

| 'slh-dsa-sha2-192f'1 | SLH-DSA-SHA2-192f | 2.16.840.1.101.3.4.3.23 |

| 'slh-dsa-sha2-192s'1 | SLH-DSA-SHA2-192s | 2.16.840.1.101.3.4.3.22 |

| 'slh-dsa-sha2-256f'1 | SLH-DSA-SHA2-256f | 2.16.840.1.101.3.4.3.25 |

| 'slh-dsa-sha2-256s'1 | SLH-DSA-SHA2-256s | 2.16.840.1.101.3.4.3.24 |

| 'slh-dsa-shake-128f'1 | SLH-DSA-SHAKE-128f | 2.16.840.1.101.3.4.3.27 |

| 'slh-dsa-shake-128s'1 | SLH-DSA-SHAKE-128s | 2.16.840.1.101.3.4.3.26 |

| 'slh-dsa-shake-192f'1 | SLH-DSA-SHAKE-192f | 2.16.840.1.101.3.4.3.29 |

| 'slh-dsa-shake-192s'1 | SLH-DSA-SHAKE-192s | 2.16.840.1.101.3.4.3.28 |

| 'slh-dsa-shake-256f'1 | SLH-DSA-SHAKE-256f | 2.16.840.1.101.3.4.3.31 |

| 'slh-dsa-shake-256s'1 | SLH-DSA-SHAKE-256s | 2.16.840.1.101.3.4.3.30 |

| 'x25519' | X25519 | 1.3.101.110 |

| 'x448' | X448 | 1.3.101.111 |