linkahead/certificate_provider.h

namespace linkahead
namespace configuration
class CertificateProvider

Subclassed by linkahead::configuration::PemCertificateProvider, linkahead::configuration::PemFileCertificateProvider

Public Functions

virtual auto GetCertificatePem() const -> std::string = 0
virtual ~CertificateProvider() = default
class PemCertificateProvider : public linkahead::configuration::CertificateProvider

Public Functions

explicit PemCertificateProvider(std::string certificate_provider)
virtual auto GetCertificatePem() const -> std::string override

Private Members

std::string certificate_provider
class PemFileCertificateProvider : public linkahead::configuration::CertificateProvider

Public Functions

explicit PemFileCertificateProvider(const path &path)
virtual auto GetCertificatePem() const -> std::string override

Private Members

std::string certificate_provider