as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
跳转到主要内容
Represents a decryption context. This class provides functionality to perform decryption operations.

Extends

  • BaseCryptoClass

Constructors

new DecryptionContext()

new DecryptionContext(): DecryptionContext

Returns

DecryptionContext

Methods

decrypt()

decrypt(ciphertext: ArrayBuffer): Promise<ArrayBuffer>
Decrypt the provided ciphertext data.

Parameters

ciphertext
ArrayBuffer The encrypted data to be decrypted.

Throws

  • SecurityError If the decryption operation fails.

Returns

Promise<ArrayBuffer> Promise<ArrayBuffer> A promise that resolves to the decrypted data (plaintext).
最后修改于 2026年8月25日