as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
感谢您的访问。此页面目前仅提供英语版本。我们正在开发中文版本。谢谢您的理解。

EcdhKeyExchangeContext

Represents a context for performing ECDH key exchange operations.

Extends

  • BaseCryptoClass

Methods

computeSharedSecret()

computeSharedSecret(peerPublicKey): 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.

Returns

Promise<ArrayBuffer>

A promise that resolves to the computed shared secret as an ArrayBuffer.


Last updated: Oct 02, 2025