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

#include "peer_tls_certificates_provider_root.hpp"

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

Public Member Functions

 PeerTlsCertificatesProviderRoot (shared_model::interface::types::TLSCertificateType root_certificate)
 
iroha::expected::Result< shared_model::interface::types::TLSCertificateType, std::string > get (const shared_model::interface::Peer &) const override
 Get peer TLS certificate. More...
 
iroha::expected::Result< shared_model::interface::types::TLSCertificateType, std::string > get (const shared_model::interface::types::PubkeyType &) const override
 Get peer TLS certificate by peer public key. More...
 
- Public Member Functions inherited from iroha::network::PeerTlsCertificatesProvider
virtual ~PeerTlsCertificatesProvider ()=default
 

Constructor & Destructor Documentation

◆ PeerTlsCertificatesProviderRoot()

PeerTlsCertificatesProviderRoot::PeerTlsCertificatesProviderRoot ( shared_model::interface::types::TLSCertificateType  root_certificate)

Member Function Documentation

◆ get() [1/2]

Result< TLSCertificateType, std::string > PeerTlsCertificatesProviderRoot::get ( const shared_model::interface::Peer peer) const
overridevirtual

Get peer TLS certificate.

Implements iroha::network::PeerTlsCertificatesProvider.

◆ get() [2/2]

Result< TLSCertificateType, std::string > PeerTlsCertificatesProviderRoot::get ( const shared_model::interface::types::PubkeyType public_key) const
overridevirtual

Get peer TLS certificate by peer public key.

Implements iroha::network::PeerTlsCertificatesProvider.


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