Copyright © 2020 Marc Worrell, Maas-Maarten Zeeman
Authors: Marc Worrell (marc@worrell.nl), Maas-Maarten Zeeman (mmzeeman@xs4all.nl).
dhgroup() = ffdhe2048 | ffdhe3072 | ffdhe4096
ensure_dhfile/1 | Check if the DH file does exist, if not then create the DH file. |
ensure_dhfile/2 | Check if the DH file does exist, if not then create the DH file. |
is_dhfile/1 | Check if the file is a DH file. |
write_dhfile/1 | Write a DH file, directory must exist. |
write_dhfile/2 | Write a DH file. |
ensure_dhfile(Filename::file:filename_all()) -> ok | {error, term()}
Check if the DH file does exist, if not then create the DH file. Missing directories are created. The DH group used will be 'ffdhe3072'.
ensure_dhfile(Filename::file:filename_all(), Group::dhgroup()) -> ok | {error, term()}
Check if the DH file does exist, if not then create the DH file. Missing directories are created.
is_dhfile(Filename::file:filenam_all()) -> boolean()
Check if the file is a DH file.
write_dhfile(Filename::file:filename_all()) -> ok | {error, term()}
Write a DH file, directory must exist. DH group will be 'ffdhe3072'.
write_dhfile(Filename::file:filename_all(), Group::dhgroup()) -> ok | {error, term()}
Write a DH file. Overwrites any existing file. The file mode will be set to rw for the user.
Generated by EDoc