vibe.d beta banner
get vibe.d
0.8.4

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

Function BotanTLSContext.setDHParams

Set params to use for DH cipher.

void setDHParams (
  string pem_file = null
);

By default the 2048-bit prime from RFC 3526 is used.

Parameters

NameDescription
pem_file Path to a PEM file containing the DH parameters. 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.