Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazonアプリストア
Ring
AWS
ドキュメント
Support
Contact Us
My Cases
開発
設計と開発
公開
リファレンス
サポート

DecryptionContext

DecryptionContext

復号コンテキストを表します。このクラスは、復号操作を実行する機能を提供します。

拡張

  • BaseCryptoClass

コンストラクタ

new DecryptionContext()

new DecryptionContext(): DecryptionContext

戻り値

DecryptionContext

メソッド

decrypt()

decrypt(ciphertext: ArrayBuffer): Promise<ArrayBuffer>

提供された暗号文データを復号します。

パラメーター

ciphertext

ArrayBuffer

復号すべき暗号化データ。

エラー

  • 復号操作が失敗した場合。

戻り値

Promise<ArrayBuffer>

Promise:復号されたデータ(プレーンテキスト)に解決されるプロミスオブジェクト。


Last updated: 2026年7月22日