非对称密钥类型
¥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' [^openssl35] | ML-DSA-44 | 2.16.840.1.101.3.4.3.17 |
'ml-dsa-65' [^openssl35] | ML-DSA-65 | 2.16.840.1.101.3.4.3.18 |
'ml-dsa-87' [^openssl35] | ML-DSA-87 | 2.16.840.1.101.3.4.3.19 |
'ml-kem-1024' [^openssl35] | ML-KEM-1024 | 2.16.840.1.101.3.4.4.3 |
'ml-kem-512' [^openssl35] | ML-KEM-512 | 2.16.840.1.101.3.4.4.1 |
'ml-kem-768' [^openssl35] | ML-KEM-768 | 2.16.840.1.101.3.4.4.2 |
'rsa-pss' | RSA PSS | 1.2.840.113549.1.1.10 |
'rsa' | RSA | 1.2.840.113549.1.1.1 |
'slh-dsa-sha2-128f' [^openssl35] | SLH-DSA-SHA2-128f | 2.16.840.1.101.3.4.3.21 |
'slh-dsa-sha2-128s' [^openssl35] | SLH-DSA-SHA2-128s | 2.16.840.1.101.3.4.3.22 |
'slh-dsa-sha2-192f' [^openssl35] | SLH-DSA-SHA2-192f | 2.16.840.1.101.3.4.3.23 |
'slh-dsa-sha2-192s' [^openssl35] | SLH-DSA-SHA2-192s | 2.16.840.1.101.3.4.3.24 |
'slh-dsa-sha2-256f' [^openssl35] | SLH-DSA-SHA2-256f | 2.16.840.1.101.3.4.3.25 |
'slh-dsa-sha2-256s' [^openssl35] | SLH-DSA-SHA2-256s | 2.16.840.1.101.3.4.3.26 |
'slh-dsa-shake-128f' [^openssl35] | SLH-DSA-SHAKE-128f | 2.16.840.1.101.3.4.3.27 |
'slh-dsa-shake-128s' [^openssl35] | SLH-DSA-SHAKE-128s | 2.16.840.1.101.3.4.3.28 |
'slh-dsa-shake-192f' [^openssl35] | SLH-DSA-SHAKE-192f | 2.16.840.1.101.3.4.3.29 |
'slh-dsa-shake-192s' [^openssl35] | SLH-DSA-SHAKE-192s | 2.16.840.1.101.3.4.3.30 |
'slh-dsa-shake-256f' [^openssl35] | SLH-DSA-SHAKE-256f | 2.16.840.1.101.3.4.3.31 |
'slh-dsa-shake-256s' [^openssl35] | SLH-DSA-SHAKE-256s | 2.16.840.1.101.3.4.3.32 |
'x25519' | X25519 | 1.3.101.110 |
'x448' | X448 | 1.3.101.111 |