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

EcdhContextBuilder

Provides support for building ECDH key exchange contexts.

Extends

  • BaseCryptoClass

Constructors

new EcdhContextBuilder()

new EcdhContextBuilder(): EcdhContextBuilder

Returns

EcdhContextBuilder

Methods

buildKeyExchangeContext()

buildKeyExchangeContext(privateKey: PrivateKey): EcdhKeyExchangeContext

Build a context for performing key exchange.

Parameters

privateKey

PrivateKey

The private key to use for key exchange. EcdhKeyExchangeContext The ECDH key exchange context object.

Returns

EcdhKeyExchangeContext


Last updated: Jul 22, 2026