as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support

EcdhContextBuilder

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 updated: Sep 30, 2025