rippled
Loading...
Searching...
No Matches
make_SSLContext.h
1#pragma once
2
3#include <boost/asio/ssl/context.hpp>
4
5#include <string>
6
7namespace xrpl {
8
11make_SSLContext(std::string const& cipherList);
12
16 std::string const& keyFile,
17 std::string const& certFile,
18 std::string const& chainFile,
19 std::string const& cipherList);
20
21} // namespace xrpl
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:5
std::shared_ptr< boost::asio::ssl::context > make_SSLContext(std::string const &cipherList)
Create a self-signed SSL context that allows anonymous Diffie Hellman.
std::shared_ptr< boost::asio::ssl::context > make_SSLContextAuthed(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.