z_ssl_dhfile (zotonic_core v1.0.0-rc.11)
Link to this section Summary
Functions
Return the dh key to be used. Needed for better forward secrecy with the DH key exchange
Return the filename of the DH file. Defaults to a file in the security directory. Can be configured differently using the 'ssl_dhfile' config.
Ensure that a DH file is generated. The 'ssl_dhgroup' config defines the group for the DH file, defaults to 'ffdhe3072'
Check if the given file is a DH file.
Link to this section Functions
Link to this function
dh_options()
-spec dh_options() -> [ssl:ssl_option()].
Link to this function
dhfile()
-spec dhfile() -> file:filename_all().
Link to this function
ensure_dhfile()
-spec ensure_dhfile() -> ok | {error, term()}.
Link to this function