as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持

EcdhKeyExchangeContext

EcdhKeyExchangeContext

表示执行ECDH密钥交换操作的上下文。

扩展

  • BaseCryptoClass

方法

computeSharedSecret()

computeSharedSecret(peerPublicKey): Promise<ArrayBuffer>

使用提供的公钥计算共享密钥。此方法使用与此上下文关联的私钥。

参数

peerPublicKey

PublicKey

对等方的公钥。

返回值

Promise<ArrayBuffer>

将计算出的共享密钥解析为ArrayBuffer的Promise。


Last updated: 2025年10月2日