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 IEcdhKeyExchangeContext

interface IEcdhKeyExchangeContext
Extends com.amazon.apmf.IStandard Interface for performing ECDH key exchange operations.

Methods

computeSharedSecret()

u8[] computeSharedSecret(IPublicKey* peerPublicKey)
Compute the shared secret using the provided public key. This method uses the private key associated with this context.

Parameters

peerPublicKey
IPublicKey* — Required The public key of the peer.

Returns

u8[] The computed shared secret.
Last modified on October 29, 2026