GRPC C++  1.39.1
Data Structures | Public Member Functions
grpc_tls_certificate_distributor Struct Reference

#include <grpc_tls_certificate_distributor.h>

Data Structures

class  TlsCertificatesWatcherInterface
 

Public Member Functions

void SetKeyMaterials (const std::string &cert_name, absl::optional< std::string > pem_root_certs, absl::optional< grpc_core::PemKeyCertPairList > pem_key_cert_pairs)
 
bool HasRootCerts (const std::string &root_cert_name)
 
bool HasKeyCertPairs (const std::string &identity_cert_name)
 
void SetErrorForCert (const std::string &cert_name, absl::optional< grpc_error_handle > root_cert_error, absl::optional< grpc_error_handle > identity_cert_error)
 
void SetError (grpc_error_handle error)
 
void SetWatchStatusCallback (std::function< void(std::string, bool, bool)> callback)
 
void WatchTlsCertificates (std::unique_ptr< TlsCertificatesWatcherInterface > watcher, absl::optional< std::string > root_cert_name, absl::optional< std::string > identity_cert_name)
 
void CancelTlsCertificatesWatch (TlsCertificatesWatcherInterface *watcher)
 
- Public Member Functions inherited from grpc_core::RefCounted< grpc_tls_certificate_distributor >
 ~RefCounted ()=default
 
RefCountedPtr< grpc_tls_certificate_distributorRef () GRPC_MUST_USE_RESULT
 
RefCountedPtr< grpc_tls_certificate_distributorRef (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
void Unref ()
 
void Unref (const DebugLocation &location, const char *reason)
 
RefCountedPtr< grpc_tls_certificate_distributorRefIfNonZero () GRPC_MUST_USE_RESULT
 
RefCountedPtr< grpc_tls_certificate_distributorRefIfNonZero (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
 RefCounted (const RefCounted &)=delete
 
RefCountedoperator= (const RefCounted &)=delete
 
- Public Member Functions inherited from grpc_core::PolymorphicRefCount
virtual ~PolymorphicRefCount ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from grpc_core::RefCounted< grpc_tls_certificate_distributor >
 RefCounted (const char *trace=nullptr, intptr_t initial_refcount=1)
 

Member Function Documentation

◆ CancelTlsCertificatesWatch()

void grpc_tls_certificate_distributor::CancelTlsCertificatesWatch ( TlsCertificatesWatcherInterface watcher)

◆ HasKeyCertPairs()

bool grpc_tls_certificate_distributor::HasKeyCertPairs ( const std::string &  identity_cert_name)

◆ HasRootCerts()

bool grpc_tls_certificate_distributor::HasRootCerts ( const std::string &  root_cert_name)

◆ SetError()

void grpc_tls_certificate_distributor::SetError ( grpc_error_handle  error)

◆ SetErrorForCert()

void grpc_tls_certificate_distributor::SetErrorForCert ( const std::string &  cert_name,
absl::optional< grpc_error_handle root_cert_error,
absl::optional< grpc_error_handle identity_cert_error 
)

◆ SetKeyMaterials()

void grpc_tls_certificate_distributor::SetKeyMaterials ( const std::string &  cert_name,
absl::optional< std::string >  pem_root_certs,
absl::optional< grpc_core::PemKeyCertPairList pem_key_cert_pairs 
)

◆ SetWatchStatusCallback()

void grpc_tls_certificate_distributor::SetWatchStatusCallback ( std::function< void(std::string, bool, bool)>  callback)
inline

◆ WatchTlsCertificates()

void grpc_tls_certificate_distributor::WatchTlsCertificates ( std::unique_ptr< TlsCertificatesWatcherInterface watcher,
absl::optional< std::string >  root_cert_name,
absl::optional< std::string >  identity_cert_name 
)

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