Skip to main content
SecureContextOptions.ecdhCurve - tls - Node documentation
property SecureContextOptions.ecdhCurve

Usage in Deno

import { type SecureContextOptions } from "node:tls";

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