Home
last modified time | relevance | path

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

/third_party/python/Lib/
Dssl.py444 capath = os.environ.get(parts[2], parts[3])
447 capath if os.path.isdir(capath) else None,
741 capath=None, cadata=None): argument
764 if cafile or capath or cadata:
765 context.load_verify_locations(cafile, capath, cadata)
781 cafile=None, capath=None, cadata=None): argument
818 if cafile or capath or cadata:
819 context.load_verify_locations(cafile, capath, cadata)
/third_party/python/Modules/clinic/
D_ssl.c.h574 PyObject *capath,
586 PyObject *capath = Py_None; in _ssl__SSLContext_load_verify_locations() local
603 capath = args[1]; in _ssl__SSLContext_load_verify_locations()
610 return_value = _ssl__SSLContext_load_verify_locations_impl(self, cafile, capath, cadata); in _ssl__SSLContext_load_verify_locations()
/third_party/python/Doc/library/
Dssl.rst128 .. function:: create_default_context(purpose=Purpose.SERVER_AUTH, cafile=None, capath=None, cadata=…
135 *cafile*, *capath*, *cadata* represent optional CA certificates to
146 and either loads CA certificates (when at least one of *cafile*, *capath* or
465 Returns a named tuple with paths to OpenSSL's default cafile and capath.
471 * :attr:`capath` - resolved path to capath or ``None`` if the directory doesn't exist,
474 * :attr:`openssl_capath_env` - OpenSSL's environment key that points to a capath,
475 * :attr:`openssl_capath` - hard coded path to a capath directory
1591 .. method:: SSLContext.load_verify_locations(cafile=None, capath=None, cadata=None)
1595 :data:`CERT_NONE`. At least one of *cafile* or *capath* must be specified.
1606 The *capath* string, if present, is
[all …]
Durllib.request.rst28 .. function:: urlopen(url, data=None[, timeout], *, cafile=None, capath=None, cadefault=False, cont…
49 The optional *cafile* and *capath* parameters specify a set of trusted
51 file containing a bundle of CA certificates, whereas *capath* should
97 *cafile* and *capath* were added.
119 *cafile*, *capath* and *cadefault* are deprecated in favor of *context*.
/third_party/python/Modules/
D_ssl.c4014 PyObject *capath, in _ssl__SSLContext_load_verify_locations_impl() argument
4025 if (capath == Py_None) in _ssl__SSLContext_load_verify_locations_impl()
4026 capath = NULL; in _ssl__SSLContext_load_verify_locations_impl()
4030 if (cafile == NULL && capath == NULL && cadata == NULL) { in _ssl__SSLContext_load_verify_locations_impl()
4042 if (capath && !PyUnicode_FSConverter(capath, &capath_bytes)) { in _ssl__SSLContext_load_verify_locations_impl()
4097 if (cafile || capath) { in _ssl__SSLContext_load_verify_locations_impl()
4100 if (capath) in _ssl__SSLContext_load_verify_locations_impl()
/third_party/python/Lib/test/
Dtest_ssl.py936 self.assertEqual(paths.capath, CAPATH)
1440 ctx.load_verify_locations(cafile=CERTFILE, capath=None)
1442 ctx.load_verify_locations(cafile=BYTES_CERTFILE, capath=None)
1451 ctx.load_verify_locations(CERTFILE, capath=BYTES_CAPATH)
1698 ctx = ssl.create_default_context(cafile=SIGNING_CA, capath=CAPATH,
2105 ctx.load_verify_locations(capath=CAPATH)
2114 ctx.load_verify_locations(capath=BYTES_CAPATH)
2237 ctx.load_verify_locations(capath=CAPATH)
2249 ctx1.load_verify_locations(capath=CAPATH)
2251 ctx2.load_verify_locations(capath=CAPATH)
/third_party/python/Lib/urllib/
Drequest.py140 *, cafile=None, capath=None, cadefault=False, context=None): argument
191 if cafile or capath or cadefault:
204 capath=capath)
/third_party/python/Lib/test/test_asyncio/
Dtest_events.py607 cafile=None, capath=None, argument
/third_party/python/
DMakefile.pre.in1463 test/capath test/cjkencodings \
/third_party/python/Doc/whatsnew/
D3.4.rst1449 OpenSSL's default ``cafile`` and ``capath``. This can be an aid in
/third_party/python/Misc/
DHISTORY4902 the default locations for cafile and capath.
10398 - Issue #12496: Install test/capath directory to prevent test_connect_capath