Interface IKeyDerivationContext
interface IKeyDerivationContext
Extends com.amazon.apmf.IStandard
Interface for key derivation contexts.
Methods
deriveBits()
Derive bits from the input keying material.u8[]deriveBits(i32length)
Parameters
length
i32 — Required
The length of the derived key in bytes.
Returns
u8[]
The derived key.
deriveKey()
Derive a symmetric key from the input keying material.ISymmetricKey*deriveKey(i32length)
Parameters
length
i32 — Required
The length of the symmetric key in bytes.
Returns
ISymmetricKey*
The derived symmetric key.

