as

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

WrappingContext

Represents a wrapping context. This class provides functionality to securely wrap (encrypt) and unwrap (decrypt) cryptographic keys or sensitive data.

Extends

  • BaseCryptoClass

Methods

unwrap()

unwrap(wrapped): Promise<ArrayBuffer>

Unwrap (decrypt) a previously wrapped key or sensitive data and return the unwrapped data.

Parameters

wrapped

ArrayBuffer

The wrapped (encrypted) key or data to be unwrapped.

Returns

Promise<ArrayBuffer>

A promise that resolves to the unwrapped (decrypted) key or data.

Throws

SecurityError If the unwrapping operation fails.


wrap()

wrap(unwrapped): Promise<ArrayBuffer>

Wrap (encrypt) a key or sensitive data and return the wrapped data.

Parameters

unwrapped

ArrayBuffer

The key or data to be wrapped.

Returns

Promise<ArrayBuffer>

A promise that resolves to the wrapped (encrypted) key or data.

Throws

SecurityError If the wrapping operation fails.


Last updated: Oct 02, 2025