Function TLSContext.setECDHCurve
Set the elliptic curve to use for ECDH cipher.
abstract void setECDHCurve
(
string curve = null
) @safe;
By default a curve is either chosen automatically or prime256v1 is used.
Parameters
Name | Description |
---|---|
curve | The short name of the elliptic curve to use. Calling this function without argument will restore the default. |