vibe.d beta banner
get vibe.d
0.8.1

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

Function TLSContext.setDHParams

Set params to use for DH cipher.

abstract void setDHParams (
  string pem_file = null
) @safe;

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

Copyright

© 2012-2014 RejectedSoftware e.K.

License

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