CCF
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
ccf::NodeClient Class Referenceabstract

#include <node_client.h>

Inherited by ccf::HTTPNodeClient.

Public Member Functions

 NodeClient (std::shared_ptr< ccf::RPCMap > rpc_map_, ccf::crypto::KeyPairPtr node_sign_kp_, const ccf::crypto::Pem &self_signed_node_cert_, const std::optional< ccf::crypto::Pem > &endorsed_node_cert_)
 
virtual ~NodeClient ()
 
virtual bool make_request (::http::Request &request)=0
 

Protected Attributes

std::shared_ptr< ccf::RPCMaprpc_map
 
ccf::crypto::KeyPairPtr node_sign_kp
 
const ccf::crypto::Pemself_signed_node_cert
 
const std::optional< ccf::crypto::Pem > & endorsed_node_cert = std::nullopt
 

Constructor & Destructor Documentation

◆ NodeClient()

ccf::NodeClient::NodeClient ( std::shared_ptr< ccf::RPCMap rpc_map_,
ccf::crypto::KeyPairPtr  node_sign_kp_,
const ccf::crypto::Pem self_signed_node_cert_,
const std::optional< ccf::crypto::Pem > &  endorsed_node_cert_ 
)
inline

◆ ~NodeClient()

virtual ccf::NodeClient::~NodeClient ( )
inlinevirtual

Member Function Documentation

◆ make_request()

virtual bool ccf::NodeClient::make_request ( ::http::Request request)
pure virtual

Implemented in ccf::HTTPNodeClient.

Member Data Documentation

◆ endorsed_node_cert

const std::optional<ccf::crypto::Pem>& ccf::NodeClient::endorsed_node_cert = std::nullopt
protected

◆ node_sign_kp

ccf::crypto::KeyPairPtr ccf::NodeClient::node_sign_kp
protected

◆ rpc_map

std::shared_ptr<ccf::RPCMap> ccf::NodeClient::rpc_map
protected

◆ self_signed_node_cert

const ccf::crypto::Pem& ccf::NodeClient::self_signed_node_cert
protected

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