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 IKeystoreAuthenticatedDh

interface IKeystoreAuthenticatedDh
Extends com.amazon.apmf.IStandard An interface for performing authenticated Diffie-Hellman operations with keystores that support it. Authenticated Diffie-Hellman is described in the MSL documentation: https://github.com/Netflix/msl/wiki/Authenticated-Diffie-Hellman-Key-Exchange

Methods

deriveAuthenticatedDhKeys()

com.amazon.kepler.crypto.AuthenticatedDhKeys deriveAuthenticatedDhKeys(com.amazon.kepler.crypto.IPrivateKey* dhPrivateKey, com.amazon.kepler.crypto.ISymmetricKey* derivationKey, com.amazon.kepler.crypto.IPublicKey* peerKey)
Derive keys using Authenticated Diffie-Hellman key derivation algorithm.

Parameters

dhPrivateKey
com.amazon.kepler.crypto.IPrivateKey* — Required The device DH private key used to compute the Diffie-Hellman shared secret.
derivationKey
com.amazon.kepler.crypto.ISymmetricKey* — Required The key derivation key used for the authenticated Diffie-Hellman computation.
peerKey
com.amazon.kepler.crypto.IPublicKey* — Required The peer public key.

Returns

com.amazon.kepler.crypto.AuthenticatedDhKeys The newly derived keys.

makeDhKeyBuilder()

com.amazon.kepler.crypto.IDiffieHellmanKeyBuilder* makeDhKeyBuilder()
Make an object for building EC keys.

Returns

com.amazon.kepler.crypto.IDiffieHellmanKeyBuilder* The Diffie-Hellman key builder object.
Last modified on October 29, 2026