Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazonアプリストア
Ring
AWS
ドキュメント
Support
Contact Us
My Cases
開発
設計と開発
公開
リファレンス
サポート
アクセスいただきありがとうございます。こちらのページは現在英語のみのご用意となっております。順次日本語化を進めてまいりますので、ご理解のほどよろしくお願いいたします。

EcdhKeyExchangeContext

Represents a context for performing ECDH key exchange operations.

Extends

  • BaseCryptoClass

Constructors

new EcdhKeyExchangeContext()

new EcdhKeyExchangeContext(): EcdhKeyExchangeContext

Returns

EcdhKeyExchangeContext

Methods

computeSharedSecret()

computeSharedSecret(peerPublicKey: PublicKey): Promise<ArrayBuffer>

Compute the shared secret using the provided public key. This method uses the private key associated with this context.

Parameters

peerPublicKey

PublicKey

The public key of the peer. Promise A promise that resolves to the computed shared secret as an ArrayBuffer.

Returns

Promise<ArrayBuffer>


Last updated: Jul 22, 2026