3#include <boost/asio/ssl/context.hpp>
10std::shared_ptr<boost::asio::ssl::context>
14std::shared_ptr<boost::asio::ssl::context>
16 std::string
const& keyFile,
17 std::string
const& certFile,
18 std::string
const& chainFile,
19 std::string
const& cipherList);
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
std::shared_ptr< boost::asio::ssl::context > makeSslContextAuthed(std::string const &keyFile, std::string const &certFile, std::string const &chainFile, std::string const &cipherList)
Create an authenticated SSL context using the specified files.
std::shared_ptr< boost::asio::ssl::context > makeSslContext(std::string const &cipherList)
Create a self-signed SSL context that allows anonymous Diffie Hellman.