3#include <boost/asio/ssl/context.hpp>
13std::shared_ptr<boost::asio::ssl::context>
19std::shared_ptr<boost::asio::ssl::context>
21 std::string
const& keyFile,
22 std::string
const& certFile,
23 std::string
const& chainFile,
24 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.