Malloy
Toggle main menu visibility
Loading...
Searching...
No Matches
lib
malloy
core
tls
manager.hpp
1
#pragma once
2
3
#include <filesystem>
4
#include <memory>
5
#include <string>
6
7
namespace
boost::asio::ssl
8
{
9
class
context;
10
}
11
12
namespace
malloy::tls
13
{
20
class
manager
21
{
22
public
:
30
[[nodiscard]]
31
static
32
std::unique_ptr<boost::asio::ssl::context>
33
make_context
(
34
const
std::filesystem::path& cert_path,
35
const
std::filesystem::path& key_path
36
);
37
45
[[nodiscard]]
46
static
47
std::unique_ptr<boost::asio::ssl::context>
48
make_context
(
49
const
std::string& cert,
50
const
std::string& key
51
);
52
};
53
54
}
malloy::tls::manager
Definition
manager.hpp:21
malloy::tls::manager::make_context
static std::unique_ptr< boost::asio::ssl::context > make_context(const std::filesystem::path &cert_path, const std::filesystem::path &key_path)
Definition
manager.cpp:9
Generated by
1.18.0