Skip to main content
SecureContextOptions.ecdhCurve - node__tls.d.ts - Node documentation
property SecureContextOptions.ecdhCurve

Usage in Deno

```typescript import { type SecureContextOptions } from "node:node__tls.d.ts"; ```
A string describing a named curve or a colon separated list of curve NIDs or names, for example P-521:P-384:P-256, to use for ECDH key agreement. Set to auto to select the curve automatically. Use crypto.getCurves() to obtain a list of available curve names. On recent releases, openssl ecparam -list_curves will also display the name and description of each available elliptic curve. Default: tls.DEFAULT_ECDH_CURVE.

Type

string | undefined