mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-19 10:35:50 +00:00
Per XLS-0095, we are taking steps to rename ripple(d) to xrpl(d). This change specifically removes all copyright notices referencing Ripple, XRPLF, and certain affiliated contributors upon mutual agreement, so the notice in the LICENSE.md file applies throughout. Copyright notices referencing external contributions remain as-is. Duplicate verbiage is also removed.
25 lines
646 B
C++
25 lines
646 B
C++
#ifndef XRPL_BASICS_MAKE_SSLCONTEXT_H_INCLUDED
|
|
#define XRPL_BASICS_MAKE_SSLCONTEXT_H_INCLUDED
|
|
|
|
#include <boost/asio/ssl/context.hpp>
|
|
|
|
#include <string>
|
|
|
|
namespace ripple {
|
|
|
|
/** Create a self-signed SSL context that allows anonymous Diffie Hellman. */
|
|
std::shared_ptr<boost::asio::ssl::context>
|
|
make_SSLContext(std::string const& cipherList);
|
|
|
|
/** Create an authenticated SSL context using the specified files. */
|
|
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);
|
|
|
|
} // namespace ripple
|
|
|
|
#endif
|