vibe.d beta banner
get vibe.d
0.7.30

Function OpenSSLContext.setDHParams

Set params to use for DH cipher.

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

Prototype

void setDHParams(
  string pem_file = null
);

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.