rippled
Loading...
Searching...
No Matches
make_SSLContext.h
1#ifndef XRPL_BASICS_MAKE_SSLCONTEXT_H_INCLUDED
2#define XRPL_BASICS_MAKE_SSLCONTEXT_H_INCLUDED
3
4#include <boost/asio/ssl/context.hpp>
5
6#include <string>
7
8namespace ripple {
9
12make_SSLContext(std::string const& cipherList);
13
17 std::string const& keyFile,
18 std::string const& certFile,
19 std::string const& chainFile,
20 std::string const& cipherList);
21
22} // namespace ripple
23
24#endif
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:6
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.