Amazon Developer

as

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

KeyDerivationContext

Represents a context for performing key derivation operations.

Extends

  • BaseCryptoClass

Constructors

new KeyDerivationContext()

new KeyDerivationContext(): KeyDerivationContext

Returns

KeyDerivationContext

Methods

deriveBits()

deriveBits(length: number): Promise<ArrayBuffer>

Derive bits from the input keying material.

Parameters

length

number

The length of the derived key in bytes. Promise A promise that resolves to the derived key as an ArrayBuffer.

Returns

Promise<ArrayBuffer>


deriveKey()

deriveKey(length: number): Promise<SymmetricKey>

Derive a symmetric key from the input keying material.

Parameters

length

number

The length of the symmetric key in bytes. Promise A promise that resolves to the derived symmetric key.

Returns

Promise<SymmetricKey>


Last updated: Jul 22, 2026