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 
21  std::string>
22  get(const shared_model::interface::Peer &) const override;
23 
26  std::string>
27  get(shared_model::interface::types::PublicKeyHexStringView)
28  const override;
29 
30  private:
31  shared_model::interface::types::TLSCertificateType root_certificate_;
32  };
33 
34  } // namespace network
35 } // namespace iroha
36 
37 #endif
std::string TLSCertificateType
Type of a TLS certificate.
Definition: types.hpp:95
Definition: peer.hpp:20
Definition: result_fwd.hpp:27
PeerTlsCertificatesProviderRoot(shared_model::interface::types::TLSCertificateType root_certificate)
Definition: peer_tls_certificates_provider_root.cpp:12
Definition: block_query.hpp:15
Definition: peer_tls_certificates_provider.hpp:25
Definition: peer_tls_certificates_provider_root.hpp:14