Home
last modified time | relevance | path

Searched refs:root_cert_error (Results 1 – 8 of 8) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/tls/
Dgrpc_tls_certificate_distributor.h71 virtual void OnError(grpc_error* root_cert_error,
98 absl::optional<grpc_error*> root_cert_error,
172 grpc_error* root_cert_error = GRPC_ERROR_NONE; member
185 GRPC_ERROR_UNREF(root_cert_error); in ~CertificateInfo()
189 GRPC_ERROR_UNREF(root_cert_error); in SetRootError()
190 root_cert_error = error; in SetRootError()
Dgrpc_tls_certificate_provider.cc63 grpc_error* root_cert_error = GRPC_ERROR_NONE; in StaticDataCertificateProvider() local
66 root_cert_error = GRPC_ERROR_CREATE_FROM_STATIC_STRING( in StaticDataCertificateProvider()
73 if (root_cert_error != GRPC_ERROR_NONE || in StaticDataCertificateProvider()
75 distributor_->SetErrorForCert(cert_name, root_cert_error, in StaticDataCertificateProvider()
153 grpc_error* root_cert_error = GRPC_ERROR_NONE; in FileWatcherCertificateProvider() local
156 root_cert_error = GRPC_ERROR_CREATE_FROM_STATIC_STRING( in FileWatcherCertificateProvider()
163 if (root_cert_error != GRPC_ERROR_NONE || in FileWatcherCertificateProvider()
165 distributor_->SetErrorForCert(cert_name, root_cert_error, in FileWatcherCertificateProvider()
213 grpc_error* root_cert_error = GRPC_ERROR_CREATE_FROM_STATIC_STRING( in ForceUpdate() local
243 report_root_error ? GRPC_ERROR_REF(root_cert_error) in ForceUpdate()
[all …]
Dgrpc_tls_certificate_distributor.cc103 const std::string& cert_name, absl::optional<grpc_error*> root_cert_error, in SetErrorForCert() argument
105 GPR_ASSERT(root_cert_error.has_value() || identity_cert_error.has_value()); in SetErrorForCert()
108 if (root_cert_error.has_value()) { in SetErrorForCert()
124 watcher_ptr->OnError(GRPC_ERROR_REF(*root_cert_error), in SetErrorForCert()
127 cert_info.SetRootError(*root_cert_error); in SetErrorForCert()
137 if (root_cert_error.has_value() && in SetErrorForCert()
145 root_cert_error_to_report = root_cert_info.root_cert_error; in SetErrorForCert()
205 root_error = GRPC_ERROR_REF(cert_info.root_cert_error); in WatchTlsCertificates()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/xds/
Dxds_certificate_provider.cc53 void OnError(grpc_error* root_cert_error, in OnError() argument
55 if (root_cert_error != GRPC_ERROR_NONE) { in OnError()
56 parent_->SetErrorForCert("", root_cert_error /* pass the ref */, in OnError()
86 void OnError(grpc_error* root_cert_error, in OnError() argument
92 GRPC_ERROR_UNREF(root_cert_error); in OnError()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/tls/
Dtls_security_connector.cc350 grpc_error* root_cert_error, grpc_error* identity_cert_error) { in OnError() argument
351 if (root_cert_error != GRPC_ERROR_NONE) { in OnError()
354 grpc_error_string(root_cert_error)); in OnError()
361 GRPC_ERROR_UNREF(root_cert_error); in OnError()
607 grpc_error* root_cert_error, grpc_error* identity_cert_error) { in OnError() argument
608 if (root_cert_error != GRPC_ERROR_NONE) { in OnError()
611 grpc_error_string(root_cert_error)); in OnError()
618 GRPC_ERROR_UNREF(root_cert_error); in OnError()
Dtls_security_connector.h100 void OnError(grpc_error* root_cert_error,
195 void OnError(grpc_error* root_cert_error,
/external/rust/crates/grpcio-sys/grpc/test/core/security/
Dgrpc_tls_certificate_provider_test.cc134 void OnError(grpc_error* root_cert_error, in OnError() argument
137 GPR_ASSERT(root_cert_error != GRPC_ERROR_NONE || in OnError()
141 if (root_cert_error != GRPC_ERROR_NONE) { in OnError()
144 root_cert_error, GRPC_ERROR_STR_DESCRIPTION, &root_error_slice)); in OnError()
157 GRPC_ERROR_UNREF(root_cert_error); in OnError()
Dgrpc_tls_certificate_distributor_test.cc132 void OnError(grpc_error* root_cert_error, in OnError() argument
134 GPR_ASSERT(root_cert_error != GRPC_ERROR_NONE || in OnError()
138 if (root_cert_error != GRPC_ERROR_NONE) { in OnError()
141 root_cert_error, GRPC_ERROR_STR_DESCRIPTION, &root_error_slice)); in OnError()
154 GRPC_ERROR_UNREF(root_cert_error); in OnError()