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
Skip to main content
Provides support for building ECDH key exchange contexts.

Extends

  • BaseCryptoClass

Accessors

curve

Set Signature

set curve(curve): void Set the elliptic curve to use for key exchange.
Parameters
curve
EccCurve The elliptic curve to use for key exchange.
Returns
void

Methods

buildKeyExchangeContext()

buildKeyExchangeContext(privateKey): EcdhKeyExchangeContext Build a context for performing key exchange.

Parameters

privateKey
PrivateKey The private key to use for key exchange.

Returns

EcdhKeyExchangeContext The ECDH key exchange context object.
Last modified on October 2, 2025