#include <manager.hpp>
|
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
◆ make_context() [1/2]
std::unique_ptr< boost::asio::ssl::context > manager::make_context |
( |
const std::filesystem::path & |
cert_path, |
|
|
const std::filesystem::path & |
key_path |
|
) |
| |
|
static |
Create a TLS context.
- Parameters
-
cert_path | Path to the cert file. |
key_path | Path to he key file. |
- Returns
- The context (if any)
◆ make_context() [2/2]
auto manager::make_context |
( |
const std::string & |
cert, |
|
|
const std::string & |
key |
|
) |
| |
|
static |
Create a TLS context.
- Parameters
-
cert | The certificate. |
key | The key. |
- Returns
- The context (if any)
The documentation for this class was generated from the following files:
- lib/malloy/core/tls/manager.hpp
- lib/malloy/core/tls/manager.cpp