vibe.d beta banner
get vibe.d
0.7.30

Function TLSContext.setECDHCurve

Set the elliptic curve to use for ECDH cipher.

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

Prototype

abstract void setECDHCurve(
  string curve = null
);

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.