vibe.d beta banner
get vibe.d
0.10.1

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

OpenSSLContext.setDHParams - multiple declarations

Function OpenSSLContext.setDHParams

Set params to use for DH cipher.

void setDHParams (
  string pem_file = null
) @trusted;

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.

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 Sönke Ludwig

License

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