Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazonアプリストア
Ring
AWS
ドキュメント
Support
Contact Us
My Cases
開発
設計と開発
公開
リファレンス
サポート
アクセスいただきありがとうございます。こちらのページは現在英語のみのご用意となっております。順次日本語化を進めてまいりますので、ご理解のほどよろしくお願いいたします。

EncryptionContext

Represents an encryption context. This class provides functionality to perform encryption operations.

Extends

  • BaseCryptoClass

Constructors

new EncryptionContext()

new EncryptionContext(): EncryptionContext

Returns

EncryptionContext

Methods

encrypt()

encrypt(plaintext: ArrayBuffer): Promise<ArrayBuffer>

Encrypt the provided plaintext data..

Parameters

plaintext

ArrayBuffer

The data to be encrypted.

Throws

  • If the encryption operation fails.

Returns

Promise<ArrayBuffer>

Promise A promise that resolves to the encrypted data (ciphertext).


Last updated: Jul 22, 2026