subtle.encapsulateBits(encapsulationAlgorithm, encapsulationKey)
新增于: v24.7.0
稳定性: 1.1 - 积极开发
\Stability: 1.1 - Active development
-
encapsulationAlgorithm<string> -
encapsulationKey<CryptoKey> -
返回:<Promise> 成功时将使用 EncapsulatedBits 履行。
\Returns: <Promise> Fulfills with EncapsulatedBits upon success.
使用消息接收者的非对称公钥加密临时对称密钥。此加密密钥是 "封装密钥",表示为 EncapsulatedBits。
\Uses a message recipient's asymmetric public key to encrypt a temporary symmetric key. This encrypted key is the "encapsulated key" represented as EncapsulatedBits.
目前支持的算法包括:
\The algorithms currently supported include: