subtle.decapsulateBits(decapsulationAlgorithm, decapsulationKey, ciphertext)
稳定性: 1.1 - 积极开发
¥Stability: 1.1 - Active development
-
decapsulationAlgorithm
<string> -
decapsulationKey
<CryptoKey> -
ciphertext
<ArrayBuffer> | <TypedArray> | <DataView> | <Buffer> -
返回:<Promise> 成功时将使用 <ArrayBuffer> 履行。
¥Returns: <Promise> Fulfills with <ArrayBuffer> upon success.
消息接收者使用其非对称私钥解密 "封装密钥"(密文),从而恢复临时对称密钥(表示为 <ArrayBuffer>),然后使用该密钥解密消息。
¥A message recipient uses their asymmetric private key to decrypt an "encapsulated key" (ciphertext), thereby recovering a temporary symmetric key (represented as <ArrayBuffer>) which is then used to decrypt a message.
目前支持的算法包括:
¥The algorithms currently supported include: