as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
Ring
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持

DecryptionContext

DecryptionContext

表示解密上下文。该类提供执行解密操作的功能。

扩展

  • BaseCryptoClass

构造函数

new DecryptionContext()

new DecryptionContext(): DecryptionContext

返回值

DecryptionContext

方法

decrypt()

decrypt(ciphertext: ArrayBuffer): Promise<ArrayBuffer>

解密提供的密文数据。

参数

ciphertext

ArrayBuffer

要解密的加密数据。

抛出

  • 如果解密操作失败。

返回值

Promise<ArrayBuffer>

Promise 解析为解密数据(密文)的Promise。


Last updated: 2026年7月22日