rippled
Loading...
Searching...
No Matches
include
xrpl
basics
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
8
namespace
ripple
{
9
11
std::shared_ptr<boost::asio::ssl::context>
12
make_SSLContext
(
std::string
const
& cipherList);
13
15
std::shared_ptr<boost::asio::ssl::context>
16
make_SSLContextAuthed
(
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
std::string
ripple
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition
algorithm.h:6
ripple::make_SSLContext
std::shared_ptr< boost::asio::ssl::context > make_SSLContext(std::string const &cipherList)
Create a self-signed SSL context that allows anonymous Diffie Hellman.
Definition
make_SSLContext.cpp:366
ripple::make_SSLContextAuthed
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.
Definition
make_SSLContext.cpp:377
std::shared_ptr
string
Generated by
1.9.8