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

#include "tls_credentials.hpp"

Collaboration diagram for iroha::network::TlsCredentials:
Collaboration graph

Public Member Functions

 TlsCredentials (std::string private_key, std::string certificate)
 

Static Public Member Functions

static iroha::expected::Result< std::unique_ptr< TlsCredentials >, std::string > load (const std::string &path)
 

Public Attributes

std::string private_key
 
std::string certificate
 

Constructor & Destructor Documentation

◆ TlsCredentials()

TlsCredentials::TlsCredentials ( std::string  private_key,
std::string  certificate 
)

Member Function Documentation

◆ load()

Result< std::unique_ptr< TlsCredentials >, std::string > TlsCredentials::load ( const std::string &  path)
static

Member Data Documentation

◆ certificate

std::string iroha::network::TlsCredentials::certificate

◆ private_key

std::string iroha::network::TlsCredentials::private_key

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