TLSContext.setDHParams

Set params to use for DH cipher.

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

interface TLSContext
@safe
void
setDHParams
(
string pem_file = null
)

Parameters

pem_file string

Path to a PEM file containing the DH parameters. Calling this function without argument will restore the default.

Meta