as

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

EcdhKeyDeriveParams

EcdhKeyDeriveParams: object

The EcdhKeyDeriveParams dictionary of the Web Crypto API represents the object that should be passed as the algorithm parameter into SubtleCrypto.deriveKey and SubtleCrypto.deriveBits, when using the ECDH or X25519 algorithms.

The parameters for ECDH SubtleCrypto.deriveKey include the other entity's public key, which is combined with this entity's private key to derive the shared secret.

Type declaration

name

name: string

A string. This should be set to ECDH or X25519, depending on the algorithm used.

public

public: CryptoKey

A CryptoKey object representing the public key of the other entity.


Last updated: Oct 02, 2025