|
Malloy
|
#include <manager.hpp>
Static Public Member Functions | |
| static std::unique_ptr< boost::asio::ssl::context > | make_context (const std::filesystem::path &cert_path, const std::filesystem::path &key_path) |
| static std::unique_ptr< boost::asio::ssl::context > | make_context (const std::string &cert, const std::string &key) |
Manager class for TLS.
ToDo: Allow specifying the ciperlists (TLS 1.2 and below) / ciphersuites (TLS 1.3+) See https://www.openssl.org/docs/manmaster/man3/SSL_CTX_set_ciphersuites.html
|
staticnodiscard |
Create a TLS context.
| cert_path | Path to the cert file. |
| key_path | Path to he key file. |

|
staticnodiscard |
Create a TLS context.
| cert | The certificate. |
| key | The key. |