as

Settings
Sign out
Notifications
Alexa
Amazonアプリストア
AWS
ドキュメント
Support
Contact Us
My Cases
開発
設計と開発
公開
リファレンス
サポート
メインコンテンツへスキップ
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

  • SecurityError If the encryption operation fails.

Returns

Promise<ArrayBuffer> Promise<ArrayBuffer> A promise that resolves to the encrypted data (ciphertext).
最終更新日 2026年8月25日