hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
iroha::network::PeerTlsCertificatesProvider Class Referenceabstract

#include "peer_tls_certificates_provider.hpp"

Inheritance diagram for iroha::network::PeerTlsCertificatesProvider:
Inheritance graph
Collaboration diagram for iroha::network::PeerTlsCertificatesProvider:
Collaboration graph

Public Member Functions

virtual ~PeerTlsCertificatesProvider ()=default
 
virtual iroha::expected::Result< shared_model::interface::types::TLSCertificateType, std::string > get (const shared_model::interface::Peer &peer) const =0
 Get peer TLS certificate. More...
 
virtual iroha::expected::Result< shared_model::interface::types::TLSCertificateType, std::string > get (const shared_model::interface::types::PubkeyType &public_key) const =0
 Get peer TLS certificate by peer public key. More...
 

Constructor & Destructor Documentation

◆ ~PeerTlsCertificatesProvider()

virtual iroha::network::PeerTlsCertificatesProvider::~PeerTlsCertificatesProvider ( )
virtualdefault

Member Function Documentation

◆ get() [1/2]

virtual iroha::expected::Result< shared_model::interface::types::TLSCertificateType, std::string> iroha::network::PeerTlsCertificatesProvider::get ( const shared_model::interface::Peer peer) const
pure virtual

◆ get() [2/2]

virtual iroha::expected::Result< shared_model::interface::types::TLSCertificateType, std::string> iroha::network::PeerTlsCertificatesProvider::get ( const shared_model::interface::types::PubkeyType public_key) const
pure virtual

Get peer TLS certificate by peer public key.

Implemented in iroha::network::PeerTlsCertificatesProviderWsv, and iroha::network::PeerTlsCertificatesProviderRoot.


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