Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Skip to main content
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

  • If the decryption operation fails.

Returns

Promise<ArrayBuffer> Promise A promise that resolves to the decrypted data (plaintext).
Last modified on July 22, 2026