caosdb/certificate_provider.h

namespace caosdb::configuration
class CertificateProvider

Subclassed by caosdb::configuration::PemCertificateProvider, caosdb::configuration::PemFileCertificateProvider

Public Functions

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

Public Functions

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

Private Members

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

Public Functions

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

Private Members

std::string certificate_provider