TLSContext.setECDHCurve

Set the elliptic curve to use for ECDH cipher.

By default a curve is either chosen automatically or prime256v1 is used.

interface TLSContext
@safe
void
setECDHCurve
(
string curve = null
)

Parameters

curve string

The short name of the elliptic curve to use. Calling this function without argument will restore the default.

Meta