Function BotanTLSContext.setECDHCurve
Set the elliptic curve to use for ECDH cipher.
void setECDHCurve
(
string curve = null
);
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. |