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()
Derive keys using Authenticated Diffie-Hellman key derivation algorithm.com.amazon.kepler.crypto.AuthenticatedDhKeysderiveAuthenticatedDhKeys(com.amazon.kepler.crypto.IPrivateKey*dhPrivateKey,com.amazon.kepler.crypto.ISymmetricKey*derivationKey,com.amazon.kepler.crypto.IPublicKey*peerKey)
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()
Make an object for building EC keys.com.amazon.kepler.crypto.IDiffieHellmanKeyBuilder*makeDhKeyBuilder()
Returns
com.amazon.kepler.crypto.IDiffieHellmanKeyBuilder*
The Diffie-Hellman key builder object.

