xrpld
Toggle main menu visibility
Loading...
Searching...
No Matches
include
xrpl
basics
make_SSLContext.h
1
#pragma once
2
3
#include <boost/asio/ssl/context.hpp>
4
5
#include <
memory
>
6
#include <
string
>
7
8
namespace
xrpl
{
9
13
std::shared_ptr<boost::asio::ssl::context>
14
makeSslContext
(std::string
const
& cipherList);
15
19
std::shared_ptr<boost::asio::ssl::context>
20
makeSslContextAuthed
(
21
std::string
const
& keyFile,
22
std::string
const
& certFile,
23
std::string
const
& chainFile,
24
std::string
const
& cipherList);
25
26
}
// namespace xrpl
memory
xrpl
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition
algorithm.h:5
xrpl::makeSslContextAuthed
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.
Definition
make_SSLContext.cpp:367
xrpl::makeSslContext
std::shared_ptr< boost::asio::ssl::context > makeSslContext(std::string const &cipherList)
Create a self-signed SSL context that allows anonymous Diffie Hellman.
Definition
make_SSLContext.cpp:356
string
Generated by
1.17.0