Go to the documentation of this file.
17 #ifndef GRPCPP_SECURITY_TLS_CERTIFICATE_PROVIDER_H
18 #define GRPCPP_SECURITY_TLS_CERTIFICATE_PROVIDER_H
31 namespace experimental {
57 const std::string& root_certificate,
58 const std::vector<IdentityKeyCertPair>& identity_key_cert_pairs);
64 const std::vector<IdentityKeyCertPair>& identity_key_cert_pairs)
101 const std::string& identity_certificate_path,
102 const std::string& root_cert_path,
103 unsigned int refresh_interval_sec);
106 const std::string& identity_certificate_path,
107 unsigned int refresh_interval_sec)
109 identity_certificate_path,
"",
110 refresh_interval_sec) {}
113 unsigned int refresh_interval_sec)
115 refresh_interval_sec) {}
128 #endif // GRPCPP_SECURITY_TLS_CERTIFICATE_PROVIDER_H
Definition: tls_certificate_provider.h:89
An Alarm posts the user-provided tag to its associated completion queue or invokes the user-provided ...
Definition: alarm.h:33
FileWatcherCertificateProvider(const std::string &private_key_path, const std::string &identity_certificate_path, unsigned int refresh_interval_sec)
Definition: tls_certificate_provider.h:105
struct grpc_tls_certificate_provider grpc_tls_certificate_provider
— TLS channel/server credentials — It is used for experimental purpose for now and subject to change.
Definition: credentials.h:583
StaticDataCertificateProvider(const std::vector< IdentityKeyCertPair > &identity_key_cert_pairs)
Definition: tls_certificate_provider.h:63
FileWatcherCertificateProvider(const std::string &root_cert_path, unsigned int refresh_interval_sec)
Definition: tls_certificate_provider.h:112
std::string certificate_chain
Definition: tls_certificate_provider.h:47
grpc_tls_certificate_provider * c_provider() override
Definition: tls_certificate_provider.h:69
Definition: tls_certificate_provider.h:45
Definition: tls_certificate_provider.h:36
std::string private_key
Definition: tls_certificate_provider.h:46
grpc_tls_certificate_provider * c_provider() override
Definition: tls_certificate_provider.h:119
Definition: tls_certificate_provider.h:53
StaticDataCertificateProvider(const std::string &root_certificate)
Definition: tls_certificate_provider.h:60