as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support

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: Sep 30, 2025