Home
last modified time | relevance | path

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

/third_party/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()
/third_party/grpc/src/core/lib/security/security_connector/tls/
Dtls_security_connector.cc359 grpc_error* root_cert_error, grpc_error* identity_cert_error) { in OnError() argument
360 if (root_cert_error != GRPC_ERROR_NONE) { in OnError()
363 grpc_error_string(root_cert_error)); in OnError()
370 GRPC_ERROR_UNREF(root_cert_error); in OnError()
619 grpc_error* root_cert_error, grpc_error* identity_cert_error) { in OnError() argument
620 if (root_cert_error != GRPC_ERROR_NONE) { in OnError()
623 grpc_error_string(root_cert_error)); in OnError()
630 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,
/third_party/grpc/src/core/ext/xds/
Dxds_certificate_provider.cc54 void OnError(grpc_error* root_cert_error, in OnError() argument
56 if (root_cert_error != GRPC_ERROR_NONE) { in OnError()
57 parent_->SetErrorForCert(cert_name_, root_cert_error /* pass the ref */, in OnError()
89 void OnError(grpc_error* root_cert_error, in OnError() argument
95 GRPC_ERROR_UNREF(root_cert_error); in OnError()