vibe.d beta banner
get vibe.d
0.10.1

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

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

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

Sönke Ludwig

Copyright

© 2012-2014 RejectedSoftware e.K.

License

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