DecryptionContext
DecryptionContext
表示解密上下文。该类提供执行解密操作的功能。
扩展
BaseCryptoClass
构造函数
new DecryptionContext()
new DecryptionContext(): DecryptionContext
返回值
方法
decrypt()
decrypt(ciphertext:
ArrayBuffer):Promise<ArrayBuffer>
解密提供的密文数据。
参数
ciphertext
ArrayBuffer
要解密的加密数据。
抛出
- 如果解密操作失败。
返回值
Promise<ArrayBuffer>
Promise 解析为解密数据(密文)的Promise。
Last updated: 2026年7月22日

