Searched refs:distributor_ (Results 1 – 7 of 7) sorted by relevance
/external/rust/crates/grpcio-sys/grpc/test/core/security/ |
D | grpc_tls_certificate_distributor_test.cc | 182 distributor_.SetWatchStatusCallback([this](std::string cert_name, in SetUp() 200 distributor_.WatchTlsCertificates(std::move(watcher), in MakeWatcher() 208 distributor_.CancelTlsCertificatesWatch(state->watcher); in CancelWatch() 218 grpc_tls_certificate_distributor distributor_; member in grpc_core::testing::GrpcTlsCertificateDistributorTest 228 EXPECT_FALSE(distributor_.HasRootCerts(kRootCert1Name)); in TEST_F() 229 EXPECT_FALSE(distributor_.HasKeyCertPairs(kIdentityCert1Name)); in TEST_F() 232 distributor_.SetKeyMaterials(kRootCert1Name, kRootCert1Contents, in TEST_F() 234 EXPECT_TRUE(distributor_.HasRootCerts(kRootCert1Name)); in TEST_F() 235 distributor_.SetKeyMaterials( in TEST_F() 238 EXPECT_TRUE(distributor_.HasKeyCertPairs(kIdentityCert1Name)); in TEST_F() [all …]
|
D | grpc_tls_certificate_provider_test.cc | 179 distributor_ = distributor; in MakeWatcher() 187 distributor_->WatchTlsCertificates(std::move(watcher), in MakeWatcher() 195 distributor_->CancelTlsCertificatesWatch(state->watcher); in CancelWatch() 205 RefCountedPtr<grpc_tls_certificate_distributor> distributor_; member in grpc_core::testing::GrpcTlsCertificateProviderTest
|
D | tls_security_connector_test.cc | 100 : distributor_(std::move(distributor)) {} in TlsTestCertificateProvider() 104 return distributor_; in distributor() 108 grpc_core::RefCountedPtr<grpc_tls_certificate_distributor> distributor_; member in grpc::testing::TlsTestCertificateProvider
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/tls/ |
D | grpc_tls_certificate_provider.cc | 34 : distributor_(MakeRefCounted<grpc_tls_certificate_distributor>()), in StaticDataCertificateProvider() 37 distributor_->SetWatchStatusCallback([this](std::string cert_name, in StaticDataCertificateProvider() 60 distributor_->SetKeyMaterials(cert_name, std::move(root_certificate), in StaticDataCertificateProvider() 75 distributor_->SetErrorForCert(cert_name, root_cert_error, in StaticDataCertificateProvider() 84 distributor_->SetWatchStatusCallback(nullptr); in ~StaticDataCertificateProvider() 103 distributor_(MakeRefCounted<grpc_tls_certificate_distributor>()) { in FileWatcherCertificateProvider() 127 distributor_->SetWatchStatusCallback([this](std::string cert_name, in FileWatcherCertificateProvider() 150 distributor_->SetKeyMaterials(cert_name, root_certificate, in FileWatcherCertificateProvider() 165 distributor_->SetErrorForCert(cert_name, root_cert_error, in FileWatcherCertificateProvider() 174 distributor_->SetWatchStatusCallback(nullptr); in ~FileWatcherCertificateProvider() [all …]
|
D | grpc_tls_certificate_provider.h | 67 return distributor_; in distributor() 75 RefCountedPtr<grpc_tls_certificate_distributor> distributor_; variable 97 return distributor_; in distributor() 121 RefCountedPtr<grpc_tls_certificate_distributor> distributor_; variable
|
/external/rust/crates/grpcio-sys/grpc/src/core/ext/xds/ |
D | xds_certificate_provider.cc | 112 distributor_(MakeRefCounted<grpc_tls_certificate_distributor>()) { in XdsCertificateProvider() 113 distributor_->SetWatchStatusCallback( in XdsCertificateProvider() 118 distributor_->SetWatchStatusCallback(nullptr); in ~XdsCertificateProvider() 139 distributor_->SetErrorForCert( in UpdateRootCertNameAndDistributor() 169 distributor_->SetErrorForCert( in UpdateIdentityCertNameAndDistributor() 199 distributor_->SetErrorForCert(cert_name, GRPC_ERROR_REF(error), in WatchStatusCallback() 208 distributor_->SetErrorForCert( in WatchStatusCallback() 228 distributor_->SetErrorForCert( in WatchStatusCallback()
|
D | xds_certificate_provider.h | 55 return distributor_; in distributor() 103 RefCountedPtr<grpc_tls_certificate_distributor> distributor_; variable
|