Home
last modified time | relevance | path

Searched refs:capath (Results 1 – 25 of 36) sorted by relevance

12

/external/curl/tests/
Dsecureserver.pl69 my $capath; # certificate chain PEM folder
186 $capath = abs_path($path);
235 $capath = pathhelp::sys_native_abs_path($capath);
279 print STUNCONF "CApath = $capath\n";
309 print "CApath = $capath\n";
/external/curl/docs/cmdline-opts/
Dproxy-capath.d1 Long: proxy-capath
5 See-also: proxy-cacert proxy capath
7 Same as --capath but used in HTTPS proxy context.
Dcapath.d1 Long: capath
10 c_rehash utility supplied with OpenSSL. Using --capath can allow
14 If this option is set, the default capath value will be ignored, and if it is
Dproxy-cacert.d5 See-also: proxy-capath cacert capath proxy
DMakefile.inc8 cacert.d capath.d \
117 proxy-capath.d \
/external/python/cpython2/Lib/
Dssl.py309 capath = os.environ.get(parts[2], parts[3])
312 capath if os.path.isdir(capath) else None,
417 capath=None, cadata=None): argument
455 if cafile or capath or cadata:
456 context.load_verify_locations(cafile, capath, cadata)
467 cafile=None, capath=None, cadata=None): argument
495 if cafile or capath or cadata:
496 context.load_verify_locations(cafile, capath, cadata)
Durllib2.py132 cafile=None, capath=None, cadefault=False, context=None): argument
134 if cafile or capath or cadefault:
144 capath=capath)
/external/python/cpython3/Lib/
Dssl.py344 capath = os.environ.get(parts[2], parts[3])
347 capath if os.path.isdir(capath) else None,
552 capath=None, cadata=None): argument
572 if cafile or capath or cadata:
573 context.load_verify_locations(cafile, capath, cadata)
584 cafile=None, capath=None, cadata=None): argument
613 if cafile or capath or cadata:
614 context.load_verify_locations(cafile, capath, cadata)
/external/curl/lib/vtls/
Dnss.c1588 const char *capath = SSL_CONN_CONFIG(CApath); in nss_load_ca_certificates() local
1595 if(capath && !capath[0]) in nss_load_ca_certificates()
1596 capath = NULL; in nss_load_ca_certificates()
1600 capath ? capath : "none"); in nss_load_ca_certificates()
1603 use_trust_module = !cafile && !capath; in nss_load_ca_certificates()
1629 if(capath) { in nss_load_ca_certificates()
1631 if(stat(capath, &st) == -1) in nss_load_ca_certificates()
1636 PRDir *dir = PR_OpenDir(capath); in nss_load_ca_certificates()
1641 char *fullpath = aprintf("%s/%s", capath, entry->name); in nss_load_ca_certificates()
1658 infof(data, "warning: CURLOPT_CAPATH not a directory (%s)\n", capath); in nss_load_ca_certificates()
Dpolarssl.c221 const char *capath = SSL_CONN_CONFIG(CApath); in polarssl_connect_step1() local
272 if(capath) { in polarssl_connect_step1()
273 ret = x509_crt_parse_path(&BACKEND->cacert, capath); in polarssl_connect_step1()
278 capath, -ret, errorbuf); in polarssl_connect_step1()
/external/python/cpython3/Modules/clinic/
D_ssl.c.h540 PyObject *capath,
550 PyObject *capath = NULL; in _ssl__SSLContext_load_verify_locations() local
554 &cafile, &capath, &cadata)) { in _ssl__SSLContext_load_verify_locations()
557 return_value = _ssl__SSLContext_load_verify_locations_impl(self, cafile, capath, cadata); in _ssl__SSLContext_load_verify_locations()
/external/curl/
Dacinclude.m42197 capath="$want_capath"
2201 capath="no"
2207 capath="$want_capath"
2213 capath="no"
2253 if test "x$capath" != "xno"; then
2254 check_capath="$capath"
2260 if test "x$capath" = "xno"; then
2261 capath="$a"
2269 if test "x$capath" = "xno"; then
2279 if test "x$capath" != "xno"; then
[all …]
/external/curl/src/
Dtool_operate.c246 !config->capath && in operate_do()
284 config->capath = strdup(env); in operate_do()
285 if(!config->capath) { in operate_do()
1061 if(config->capath) { in operate_do()
1062 result = res_setopt_str(curl, CURLOPT_CAPATH, config->capath); in operate_do()
1073 if(config->proxy_capath || config->capath) { in operate_do()
1077 config->capath)); in operate_do()
Dtool_cfgable.h132 char *capath; member
Dtool_cfgable.c116 Curl_safefree(config->capath); in free_config_fields()
/external/python/cpython2/Modules/
D_ssl.c2917 PyObject *cadata = NULL, *cafile = NULL, *capath = NULL; in load_verify_locations() local
2925 &cafile, &capath, &cadata)) in load_verify_locations()
2930 if (capath == Py_None) in load_verify_locations()
2931 capath = NULL; in load_verify_locations()
2935 if (cafile == NULL && capath == NULL && cadata == NULL) { in load_verify_locations()
2956 if (capath) { in load_verify_locations()
2957 if (PyString_Check(capath)) { in load_verify_locations()
2958 Py_INCREF(capath); in load_verify_locations()
2959 capath_bytes = capath; in load_verify_locations()
2961 PyObject *u = PyUnicode_FromObject(capath); in load_verify_locations()
[all …]
/external/python/cpython2/Doc/library/
Dssl.rst243 .. function:: create_default_context(purpose=Purpose.SERVER_AUTH, cafile=None, capath=None, cadata=…
250 *cafile*, *capath*, *cadata* represent optional CA certificates to
260 and either loads CA certificates (when at least one of *cafile*, *capath* or
460 Returns a named tuple with paths to OpenSSL's default cafile and capath.
466 * :attr:`capath` - resolved path to capath or ``None`` if the directory doesn't exist,
469 * :attr:`openssl_capath_env` - OpenSSL's environment key that points to a capath,
470 * :attr:`openssl_capath` - hard coded path to a capath directory
1122 .. method:: SSLContext.load_verify_locations(cafile=None, capath=None, cadata=None)
1126 :data:`CERT_NONE`. At least one of *cafile* or *capath* must be specified.
1137 The *capath* string, if present, is
[all …]
Durllib2.rst30 .. function:: urlopen(url[, data[, timeout[, cafile[, capath[, cadefault[, context]]]]])
52 The optional *cafile* and *capath* parameters specify a set of trusted CA
54 containing a bundle of CA certificates, whereas *capath* should point to a
86 *cafile*, *capath*, *cadefault*, and *context* were added.
/external/python/cpython3/Modules/
D_ssl.c3967 PyObject *capath, in _ssl__SSLContext_load_verify_locations_impl() argument
3978 if (capath == Py_None) in _ssl__SSLContext_load_verify_locations_impl()
3979 capath = NULL; in _ssl__SSLContext_load_verify_locations_impl()
3983 if (cafile == NULL && capath == NULL && cadata == NULL) { in _ssl__SSLContext_load_verify_locations_impl()
3993 if (capath && !PyUnicode_FSConverter(capath, &capath_bytes)) { in _ssl__SSLContext_load_verify_locations_impl()
4038 if (cafile || capath) { in _ssl__SSLContext_load_verify_locations_impl()
4041 if (capath) in _ssl__SSLContext_load_verify_locations_impl()
/external/python/cpython2/Lib/test/
Dtest_ssl.py575 self.assertEqual(paths.capath, CAPATH)
914 ctx.load_verify_locations(cafile=CERTFILE, capath=None)
916 ctx.load_verify_locations(cafile=BYTES_CERTFILE, capath=None)
928 ctx.load_verify_locations(CERTFILE, capath=BYTES_CAPATH)
1171 ctx = ssl.create_default_context(cafile=SIGNING_CA, capath=CAPATH,
1482 ctx.load_verify_locations(capath=CAPATH)
1493 ctx.load_verify_locations(capath=BYTES_CAPATH)
1614 ctx.load_verify_locations(capath=CAPATH)
/external/python/cpython3/Doc/library/
Dssl.rst121 .. function:: create_default_context(purpose=Purpose.SERVER_AUTH, cafile=None, capath=None, cadata=…
128 *cafile*, *capath*, *cadata* represent optional CA certificates to
138 and either loads CA certificates (when at least one of *cafile*, *capath* or
451 Returns a named tuple with paths to OpenSSL's default cafile and capath.
457 * :attr:`capath` - resolved path to capath or ``None`` if the directory doesn't exist,
460 * :attr:`openssl_capath_env` - OpenSSL's environment key that points to a capath,
461 * :attr:`openssl_capath` - hard coded path to a capath directory
1517 .. method:: SSLContext.load_verify_locations(cafile=None, capath=None, cadata=None)
1521 :data:`CERT_NONE`. At least one of *cafile* or *capath* must be specified.
1532 The *capath* string, if present, is
[all …]
/external/scapy/scapy/layers/tls/
Dcert.py935 def verifyChainFromCAPath(self, capath, untrusted_file=None): argument
945 for cafile in os.listdir(capath):
/external/python/cpython3/Lib/test/
Dtest_ssl.py825 self.assertEqual(paths.capath, CAPATH)
1296 ctx.load_verify_locations(cafile=CERTFILE, capath=None)
1298 ctx.load_verify_locations(cafile=BYTES_CERTFILE, capath=None)
1307 ctx.load_verify_locations(CERTFILE, capath=BYTES_CAPATH)
1552 ctx = ssl.create_default_context(cafile=SIGNING_CA, capath=CAPATH,
1932 ctx.load_verify_locations(capath=CAPATH)
1941 ctx.load_verify_locations(capath=BYTES_CAPATH)
2033 ctx.load_verify_locations(capath=CAPATH)
2046 ctx1.load_verify_locations(capath=CAPATH)
2048 ctx2.load_verify_locations(capath=CAPATH)
/external/python/cpython3/Lib/urllib/
Drequest.py140 *, cafile=None, capath=None, cadefault=False, context=None): argument
199 if cafile or capath or cadefault:
212 capath=capath)
/external/curl/docs/
DSSLCERTS.md58 libcurl hackers: `curl_easy_setopt(curl, CURLOPT_CAPATH, capath);`

12