hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
peer_tls_certificates_provider_root.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_PEER_TLS_CERTIFICATES_PROVIDER_ROOT_HPP
7 #define IROHA_PEER_TLS_CERTIFICATES_PROVIDER_ROOT_HPP
8 
10 
11 namespace iroha {
12  namespace network {
13 
15  public:
18 
19  iroha::expected::Result<
21  std::string>
22  get(const shared_model::interface::Peer &) const override;
23 
24  iroha::expected::Result<
26  std::string>
27  get(const shared_model::interface::types::PubkeyType &) const override;
28 
29  private:
30  shared_model::interface::types::TLSCertificateType root_certificate_;
31  };
32 
33  } // namespace network
34 } // namespace iroha
35 
36 #endif
std::string TLSCertificateType
Type of a TLS certificate.
Definition: types.hpp:92
Definition: peer.hpp:20
PeerTlsCertificatesProviderRoot(shared_model::interface::types::TLSCertificateType root_certificate)
Definition: peer_tls_certificates_provider_root.cpp:12
Definition: block_query.hpp:14
Definition: peer_tls_certificates_provider.hpp:24
Definition: public_key.hpp:16
Definition: peer_tls_certificates_provider_root.hpp:14