Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IKeyDerivationContext

interface IKeyDerivationContext
Extends com.amazon.apmf.IStandard Interface for key derivation contexts.

Methods

deriveBits()

u8[] deriveBits(i32 length)
Derive bits from the input keying material.

Parameters

length
i32 — Required The length of the derived key in bytes.

Returns

u8[] The derived key.

deriveKey()

ISymmetricKey* deriveKey(i32 length)
Derive a symmetric key from the input keying material.

Parameters

length
i32 — Required The length of the symmetric key in bytes.

Returns

ISymmetricKey* The derived symmetric key.
Last modified on October 29, 2026