vibe.d beta banner
get vibe.d
0.10.0

Asynchronous I/O that doesn’t get in your way, written in D

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

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

Sönke Ludwig, Etienne Cimon

Copyright

© 2015 RejectedSoftware e.K., GlobecSys Inc

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.