Home
last modified time | relevance | path

Searched refs:cert_name (Results 1 – 9 of 9) sorted by relevance

/third_party/grpc/src/core/ext/xds/
Dxds_certificate_provider.cc42 std::string cert_name) in RootCertificatesWatcher() argument
43 : parent_(std::move(parent)), cert_name_(std::move(cert_name)) {} in RootCertificatesWatcher()
78 std::string cert_name) in IdentityCertificatesWatcher() argument
79 : parent_(std::move(parent)), cert_name_(std::move(cert_name)) {} in IdentityCertificatesWatcher()
127 const std::string& cert_name, absl::string_view root_cert_name, in UpdateRootCertNameAndDistributor() argument
140 UpdateRootCertWatcher(cert_name, root_cert_distributor.get()); in UpdateRootCertNameAndDistributor()
156 const std::string& cert_name, absl::string_view identity_cert_name, in UpdateIdentityCertNameAndDistributor() argument
171 UpdateIdentityCertWatcher(cert_name, identity_cert_distributor.get()); in UpdateIdentityCertNameAndDistributor()
185 const std::string& cert_name, in UpdateRootCertWatcher() argument
188 xds_certificate_provider_->distributor_, cert_name); in UpdateRootCertWatcher()
[all …]
Dxds_certificate_provider.h42 bool ProvidesRootCerts(const std::string& cert_name);
44 const std::string& cert_name, absl::string_view root_cert_name,
47 bool ProvidesIdentityCerts(const std::string& cert_name);
49 const std::string& cert_name, absl::string_view identity_cert_name,
53 bool GetRequireClientCertificate(const std::string& cert_name);
56 void UpdateRequireClientCertificate(const std::string& cert_name,
87 const std::string& cert_name, absl::string_view root_cert_name,
90 const std::string& cert_name, absl::string_view identity_cert_name,
95 const std::string& cert_name,
98 const std::string& cert_name,
[all …]
/third_party/grpc/src/core/lib/security/credentials/tls/
Dgrpc_tls_certificate_provider.cc37 distributor_->SetWatchStatusCallback([this](std::string cert_name, in StaticDataCertificateProvider()
43 StaticDataCertificateProvider::WatcherInfo& info = watcher_info_[cert_name]; in StaticDataCertificateProvider()
55 watcher_info_.erase(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()
127 distributor_->SetWatchStatusCallback([this](std::string cert_name, in FileWatcherCertificateProvider()
134 watcher_info_[cert_name]; in FileWatcherCertificateProvider()
146 watcher_info_.erase(cert_name); in FileWatcherCertificateProvider()
150 distributor_->SetKeyMaterials(cert_name, root_certificate, in FileWatcherCertificateProvider()
165 distributor_->SetErrorForCert(cert_name, root_cert_error, in FileWatcherCertificateProvider()
[all …]
Dgrpc_tls_certificate_distributor.cc28 const std::string& cert_name, absl::optional<std::string> pem_root_certs, in SetKeyMaterials() argument
32 auto& cert_info = certificate_info_map_[cert_name]; in SetKeyMaterials()
44 watcher_it->second.identity_cert_name == cert_name) { in SetKeyMaterials()
68 watcher_it->second.root_cert_name == cert_name) { in SetKeyMaterials()
103 const std::string& cert_name, absl::optional<grpc_error*> root_cert_error, in SetErrorForCert() argument
107 CertificateInfo& cert_info = certificate_info_map_[cert_name]; in SetErrorForCert()
117 watcher_it->second.identity_cert_name == cert_name) { in SetErrorForCert()
138 watcher_it->second.root_cert_name == cert_name) { in SetErrorForCert()
Dgrpc_tls_certificate_distributor.h81 const std::string& cert_name, absl::optional<std::string> pem_root_certs,
97 void SetErrorForCert(const std::string& cert_name,
/third_party/libwebsockets/lib/plat/windows/
Dwindows-sockets.c280 char cert_name[256]; in lws_plat_vhost_tls_client_ctx_init() local
291 0, NULL, cert_name, sizeof(cert_name))) in lws_plat_vhost_tls_client_ctx_init()
292 strcpy(cert_name, "Unknown"); in lws_plat_vhost_tls_client_ctx_init()
294 lwsl_debug("%s: Checking cert \"%s\"\n", __func__, cert_name); in lws_plat_vhost_tls_client_ctx_init()
386 cert_name); in lws_plat_vhost_tls_client_ctx_init()
/third_party/libcoap/examples/
Dcoap-server.c1857 const char *cert_name, const char *ca_name) {; in update_pki_key() argument
1860 (cert_name && strncasecmp (cert_name, "pkcs11:", 7) == 0) || in update_pki_key()
1863 dtls_key->key.pkcs11.public_cert = cert_name; in update_pki_key()
1864 dtls_key->key.pkcs11.private_key = key_name ? key_name : cert_name; in update_pki_key()
1870 dtls_key->key.pem.public_cert = cert_name; in update_pki_key()
1871 dtls_key->key.pem.private_key = key_name ? key_name : cert_name; in update_pki_key()
1880 cert_mem = read_file_mem(cert_name, &cert_mem_len); in update_pki_key()
/third_party/cef/tests/cefclient/browser/
Dclient_handler.cc828 const std::string& cert_name = in OnSelectClientCertificate() local
831 if (cert_name.empty()) { in OnSelectClientCertificate()
840 if (subject == cert_name) { in OnSelectClientCertificate()
/third_party/curl/lib/vtls/
Dopenssl.c2925 char cert_name[256]; in ossl_connect_step1() local
2934 NULL, cert_name, sizeof(cert_name))) { in ossl_connect_step1()
2935 strcpy(cert_name, "Unknown"); in ossl_connect_step1()
2937 infof(data, "SSL: Checking cert %s\"\n", cert_name); in ossl_connect_step1()
3019 infof(data, "SSL: Imported cert \"%s\"", cert_name); in ossl_connect_step1()