|
rippled
|
#include <TrustedPublisherServer.h>


Classes | |
| struct | BlobInfo |
| struct | lambda |
| struct | Validator |
Public Member Functions | |
| TrustedPublisherServer (boost::asio::io_context &ioc, std::vector< Validator > const &validators, NetClock::time_point validUntil, std::vector< std::pair< NetClock::time_point, NetClock::time_point > > const &futures, bool useSSL=false, int version=1, bool immediateStart=true, int sequence=1) | |
| void | start () |
| void | stop () |
| ~TrustedPublisherServer () | |
| endpoint_type | local_endpoint () const |
| PublicKey const & | publisherPublic () const |
| T | shared_from_this (T... args) |
| T | weak_from_this (T... args) |
Static Public Member Functions | |
| static std::string | makeManifestString (PublicKey const &pk, SecretKey const &sk, PublicKey const &spk, SecretKey const &ssk, int seq) |
| static Validator | randomValidator () |
| static std::string const & | cert () |
| static std::string const & | key () |
| static std::string const & | ca_cert () |
| static std::string const & | dh () |
Private Types | |
| using | endpoint_type = boost::asio::ip::tcp::endpoint |
| using | address_type = boost::asio::ip::address |
| using | socket_type = boost::asio::ip::tcp::socket |
| using | req_type = boost::beast::http::request< boost::beast::http::string_body > |
| using | resp_type = boost::beast::http::response< boost::beast::http::string_body > |
| using | error_code = boost::system::error_code |
Private Member Functions | |
| void | load_server_certificate () |
| void | on_accept (error_code ec) |
| void | do_peer (int id, socket_type &&s, bool ssl) |
Private Attributes | |
| socket_type | sock_ |
| endpoint_type | ep_ |
| boost::asio::ip::tcp::acceptor | acceptor_ |
| std::function< std::string(int)> | getList_ |
| std::function< std::string(int)> | getList2_ |
| bool | useSSL_ |
| boost::asio::ssl::context | sslCtx_ {boost::asio::ssl::context::tlsv12} |
| SecretKey | publisherSecret_ |
| PublicKey | publisherPublic_ |
Definition at line 48 of file TrustedPublisherServer.h.
|
private |
Definition at line 51 of file TrustedPublisherServer.h.
|
private |
Definition at line 52 of file TrustedPublisherServer.h.
|
private |
Definition at line 53 of file TrustedPublisherServer.h.
|
private |
Definition at line 55 of file TrustedPublisherServer.h.
|
private |
Definition at line 57 of file TrustedPublisherServer.h.
|
private |
Definition at line 59 of file TrustedPublisherServer.h.
| ripple::test::TrustedPublisherServer::TrustedPublisherServer | ( | boost::asio::io_context & | ioc, |
| std::vector< Validator > const & | validators, | ||
| NetClock::time_point | validUntil, | ||
| std::vector< std::pair< NetClock::time_point, NetClock::time_point > > const & | futures, | ||
| bool | useSSL = false, |
||
| int | version = 1, |
||
| bool | immediateStart = true, |
||
| int | sequence = 1 |
||
| ) |
Definition at line 174 of file TrustedPublisherServer.h.
| ripple::test::TrustedPublisherServer::~TrustedPublisherServer | ( | ) |
Definition at line 308 of file TrustedPublisherServer.h.
|
private |
Definition at line 81 of file TrustedPublisherServer.h.
|
static |
Definition at line 124 of file TrustedPublisherServer.h.
|
static |
Definition at line 152 of file TrustedPublisherServer.h.
| void ripple::test::TrustedPublisherServer::start | ( | ) |
Definition at line 280 of file TrustedPublisherServer.h.
| void ripple::test::TrustedPublisherServer::stop | ( | ) |
Definition at line 300 of file TrustedPublisherServer.h.
| endpoint_type ripple::test::TrustedPublisherServer::local_endpoint | ( | ) | const |
Definition at line 314 of file TrustedPublisherServer.h.
| PublicKey const & ripple::test::TrustedPublisherServer::publisherPublic | ( | ) | const |
Definition at line 320 of file TrustedPublisherServer.h.
|
static |
Definition at line 388 of file TrustedPublisherServer.h.
|
static |
Definition at line 395 of file TrustedPublisherServer.h.
|
static |
Definition at line 402 of file TrustedPublisherServer.h.
|
static |
Definition at line 409 of file TrustedPublisherServer.h.
|
private |
Definition at line 445 of file TrustedPublisherServer.h.
|
private |
Definition at line 464 of file TrustedPublisherServer.h.
|
private |
Definition at line 61 of file TrustedPublisherServer.h.
|
private |
Definition at line 62 of file TrustedPublisherServer.h.
|
private |
Definition at line 63 of file TrustedPublisherServer.h.
|
private |
Definition at line 66 of file TrustedPublisherServer.h.
|
private |
Definition at line 69 of file TrustedPublisherServer.h.
|
private |
Definition at line 72 of file TrustedPublisherServer.h.
|
private |
Definition at line 73 of file TrustedPublisherServer.h.
|
private |
Definition at line 75 of file TrustedPublisherServer.h.
|
private |
Definition at line 76 of file TrustedPublisherServer.h.