CCF
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
ccf::ACMESubsystemInterface Class Referenceabstract

#include <acme_subsystem_interface.h>

Inherits ccf::AbstractNodeSubSystem.

Inherited by ccf::ACMESubsystem.

Public Member Functions

virtual ~ACMESubsystemInterface ()=default
 
virtual std::optional< const ccf::ACMEClientConfig * > config (const NodeInfoNetwork::RpcInterfaceID &id)=0
 
virtual ccf::crypto::Pem network_cert ()=0
 
virtual void install_challenge_handler (const ccf::NodeInfoNetwork::RpcInterfaceID &interface_id, std::shared_ptr< ACMEChallengeHandler > h)=0
 
virtual void make_http_request (const std::string &method, const std::string &url, const http::HeaderMap &headers, const std::vector< uint8_t > &body, std::function< bool(const http_status &http_status, const http::HeaderMap &, const std::vector< uint8_t > &)> callback, const std::vector< std::string > &ca_certs={}, const std::string &app_protocol="HTTP1", bool use_node_client_certificate=false)=0
 
- Public Member Functions inherited from ccf::AbstractNodeSubSystem
virtual ~AbstractNodeSubSystem ()=default
 

Static Public Member Functions

static char const * get_subsystem_name ()
 

Constructor & Destructor Documentation

◆ ~ACMESubsystemInterface()

virtual ccf::ACMESubsystemInterface::~ACMESubsystemInterface ( )
virtualdefault

Member Function Documentation

◆ config()

virtual std::optional< const ccf::ACMEClientConfig * > ccf::ACMESubsystemInterface::config ( const NodeInfoNetwork::RpcInterfaceID id)
pure virtual

Implemented in ccf::ACMESubsystem.

◆ get_subsystem_name()

static char const * ccf::ACMESubsystemInterface::get_subsystem_name ( )
inlinestatic

◆ install_challenge_handler()

virtual void ccf::ACMESubsystemInterface::install_challenge_handler ( const ccf::NodeInfoNetwork::RpcInterfaceID interface_id,
std::shared_ptr< ACMEChallengeHandler h 
)
pure virtual

Implemented in ccf::ACMESubsystem.

◆ make_http_request()

virtual void ccf::ACMESubsystemInterface::make_http_request ( const std::string &  method,
const std::string &  url,
const http::HeaderMap headers,
const std::vector< uint8_t > &  body,
std::function< bool(const http_status &http_status, const http::HeaderMap &, const std::vector< uint8_t > &)>  callback,
const std::vector< std::string > &  ca_certs = {},
const std::string &  app_protocol = "HTTP1",
bool  use_node_client_certificate = false 
)
pure virtual

◆ network_cert()

virtual ccf::crypto::Pem ccf::ACMESubsystemInterface::network_cert ( )
pure virtual

Implemented in ccf::ACMESubsystem.


The documentation for this class was generated from the following file: