| 
    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 29 of file TrustedPublisherServer.h.
      
  | 
  private | 
Definition at line 32 of file TrustedPublisherServer.h.
      
  | 
  private | 
Definition at line 33 of file TrustedPublisherServer.h.
      
  | 
  private | 
Definition at line 34 of file TrustedPublisherServer.h.
      
  | 
  private | 
Definition at line 36 of file TrustedPublisherServer.h.
      
  | 
  private | 
Definition at line 38 of file TrustedPublisherServer.h.
      
  | 
  private | 
Definition at line 40 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 155 of file TrustedPublisherServer.h.
| ripple::test::TrustedPublisherServer::~TrustedPublisherServer | ( | ) | 
Definition at line 289 of file TrustedPublisherServer.h.
      
  | 
  private | 
Definition at line 62 of file TrustedPublisherServer.h.
      
  | 
  static | 
Definition at line 105 of file TrustedPublisherServer.h.
      
  | 
  static | 
Definition at line 133 of file TrustedPublisherServer.h.
| void ripple::test::TrustedPublisherServer::start | ( | ) | 
Definition at line 261 of file TrustedPublisherServer.h.
| void ripple::test::TrustedPublisherServer::stop | ( | ) | 
Definition at line 281 of file TrustedPublisherServer.h.
| endpoint_type ripple::test::TrustedPublisherServer::local_endpoint | ( | ) | const | 
Definition at line 295 of file TrustedPublisherServer.h.
| PublicKey const & ripple::test::TrustedPublisherServer::publisherPublic | ( | ) | const | 
Definition at line 301 of file TrustedPublisherServer.h.
      
  | 
  static | 
Definition at line 369 of file TrustedPublisherServer.h.
      
  | 
  static | 
Definition at line 376 of file TrustedPublisherServer.h.
      
  | 
  static | 
Definition at line 383 of file TrustedPublisherServer.h.
      
  | 
  static | 
Definition at line 390 of file TrustedPublisherServer.h.
      
  | 
  private | 
Definition at line 426 of file TrustedPublisherServer.h.
      
  | 
  private | 
Definition at line 445 of file TrustedPublisherServer.h.
      
  | 
  private | 
Definition at line 42 of file TrustedPublisherServer.h.
      
  | 
  private | 
Definition at line 43 of file TrustedPublisherServer.h.
      
  | 
  private | 
Definition at line 44 of file TrustedPublisherServer.h.
      
  | 
  private | 
Definition at line 47 of file TrustedPublisherServer.h.
      
  | 
  private | 
Definition at line 50 of file TrustedPublisherServer.h.
      
  | 
  private | 
Definition at line 53 of file TrustedPublisherServer.h.
      
  | 
  private | 
Definition at line 54 of file TrustedPublisherServer.h.
      
  | 
  private | 
Definition at line 56 of file TrustedPublisherServer.h.
      
  | 
  private | 
Definition at line 57 of file TrustedPublisherServer.h.