Home
last modified time | relevance | path

Searched refs:ca_path (Results 1 – 25 of 41) sorted by relevance

12

/third_party/gstreamer/gstplugins_bad/ext/curl/
Dgstcurltlssink.c142 sink->ca_path = NULL; in gst_curl_tls_sink_init()
155 g_free (this->ca_path); in gst_curl_tls_sink_finalize()
183 g_free (sink->ca_path); in gst_curl_tls_sink_set_property()
184 sink->ca_path = g_value_dup_string (value); in gst_curl_tls_sink_set_property()
186 GST_DEBUG_OBJECT (sink, "ca_path set to %s", sink->ca_path); in gst_curl_tls_sink_set_property()
221 g_value_set_string (value, sink->ca_path); in gst_curl_tls_sink_get_property()
283 if (sink->ca_path != NULL && strlen (sink->ca_path)) { in gst_curl_tls_sink_set_options_unlocked()
285 res = curl_easy_setopt (bcsink->curl, CURLOPT_CAPATH, sink->ca_path); in gst_curl_tls_sink_set_options_unlocked()
Dgstcurltlssink.h50 gchar *ca_path; member
/third_party/mindspore/mindspore/ccsrc/ps/core/communicator/
Dssl_wrapper.cc108 std::string ca_path = CommUtil::ParseConfig(*config_, kCaCertPath); in InitSSL() local
109 if (!CommUtil::IsFileExists(ca_path)) { in InitSSL()
112 client_ca = ca_path; in InitSSL()
196 …er::StartCheckCertTime(const Configuration &config, const X509 *cert, const std::string &ca_path) { in StartCheckCertTime() argument
210 BIO *ca_bio = BIO_new_file(ca_path.c_str(), "r"); in StartCheckCertTime()
Dssl_client.cc87 std::string ca_path = CommUtil::ParseConfig(*config_, kCaCertPath); in InitSSL() local
88 if (!CommUtil::IsFileExists(ca_path)) { in InitSSL()
91 client_ca = ca_path; in InitSSL()
Dssl_wrapper.h61 …void StartCheckCertTime(const Configuration &config, const X509 *cert, const std::string &ca_path);
/third_party/mbedtls/programs/x509/
Dcert_app.c107 const char *ca_path; /* the path with the CA certificate(s) reside */ member
189 opt.ca_path = DFL_CA_PATH; in main()
224 opt.ca_path = q; in main()
251 if( strlen( opt.ca_path ) ) in main()
253 if( ( ret = mbedtls_x509_crt_parse_path( &cacert, opt.ca_path ) ) < 0 ) in main()
/third_party/libwebsockets/test-apps/
Dtest-server.c421 char ca_path[1024] = ""; in main() local
513 lws_strncpy(ca_path, optarg, sizeof(ca_path)); in main()
603 if (ca_path[0]) in main()
604 info.ssl_ca_filepath = ca_path; in main()
Dtest-client.c605 char ca_path[1024] = ""; in main() local
674 lws_strncpy(ca_path, optarg, sizeof(ca_path)); in main()
758 if (ca_path[0]) in main()
759 info.client_ssl_ca_filepath = ca_path; in main()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
Deap_config.h115 char *ca_path; member
Deap_tls_common.c112 params->ca_path = config->ca_path; in eap_tls_params_from_conf1()
136 params->ca_path = config->ca_path2; in eap_tls_params_from_conf2()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
Deap_config.h56 char *ca_path; member
Deap_tls_common.c112 params->ca_path = config->ca_path; in eap_tls_cert_params_from_conf()
/third_party/mindspore/mindspore/ccsrc/ps/core/
Dcomm_util.h122 static bool VerifyCommonName(const X509 *cert, const std::string &ca_path);
Dcomm_util.cc267 bool CommUtil::VerifyCommonName(const X509 *cert, const std::string &ca_path) { in VerifyCommonName() argument
286 BIO *ca_bio = BIO_new_file(ca_path.c_str(), "r"); in VerifyCommonName()
/third_party/libcoap/src/
Dcoap_notls.c46 const char *ca_path COAP_UNUSED in coap_dtls_context_set_pki_root_cas()
Dcoap_mbedtls.c1443 const char *ca_path) in coap_dtls_context_set_pki_root_cas() argument
1455 if (ca_file == NULL && ca_path == NULL) { in coap_dtls_context_set_pki_root_cas()
1475 if (ca_path) { in coap_dtls_context_set_pki_root_cas()
1476 m_context->root_ca_path = mbedtls_strdup(ca_path); in coap_dtls_context_set_pki_root_cas()
Dcoap_gnutls.c291 const char *ca_path) in coap_dtls_context_set_pki_root_cas() argument
302 if (ca_file == NULL && ca_path == NULL) { in coap_dtls_context_set_pki_root_cas()
319 if (ca_path) { in coap_dtls_context_set_pki_root_cas()
321 g_context->root_ca_path = gnutls_strdup(ca_path); in coap_dtls_context_set_pki_root_cas()
/third_party/mbedtls/programs/ssl/
Dssl_client2.c458 const char *ca_path; /* the path with the CA certificate(s) reside */ member
826 opt.ca_path = DFL_CA_PATH; in main()
952 opt.ca_path = q; in main()
1606 if( strcmp( opt.ca_path, "none" ) == 0 || in main()
1613 if( strlen( opt.ca_path ) ) in main()
1614 ret = mbedtls_x509_crt_parse_path( &cacert, opt.ca_path ); in main()
1877 if( strcmp( opt.ca_path, "none" ) != 0 && in main()
Dssl_server2.c573 const char *ca_path; /* the path with the CA certificate(s) reside */ member
1499 opt.ca_path = DFL_CA_PATH; in main()
1627 opt.ca_path = q; in main()
2340 if( strcmp( opt.ca_path, "none" ) == 0 || in main()
2347 if( strlen( opt.ca_path ) ) in main()
2348 ret = mbedtls_x509_crt_parse_path( &cacert, opt.ca_path ); in main()
2787 if( strcmp( opt.ca_path, "none" ) != 0 && in main()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dtls_internal.c259 params->ca_path)) { in tls_connection_set_params()
324 params->ca_cert_blob_len, params->ca_path)) { in tls_global_set_params()
Dtls.h185 const char *ca_path; member
Dtls_wolfssl.c1144 const char *ca_path) in tls_connection_ca_cert() argument
1204 if (ca_cert || ca_path) { in tls_connection_ca_cert()
1214 if (wolfSSL_CTX_load_verify_locations(ctx, ca_cert, ca_path) != in tls_connection_ca_cert()
1272 params->ca_path) < 0) { in tls_connection_set_params()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Dtls_internal.c259 params->ca_path)) { in tls_connection_set_params()
324 params->ca_cert_blob_len, params->ca_path)) { in tls_global_set_params()
Dtls.h185 const char *ca_path; member
Dtls_wolfssl.c1137 const char *ca_path) in tls_connection_ca_cert() argument
1197 if (ca_cert || ca_path) { in tls_connection_ca_cert()
1207 if (wolfSSL_CTX_load_verify_locations(ctx, ca_cert, ca_path) != in tls_connection_ca_cert()
1265 params->ca_path) < 0) { in tls_connection_set_params()

12