Searched refs:capath (Results 1 – 11 of 11) sorted by relevance
/third_party/python/Lib/ |
D | ssl.py | 444 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.h | 574 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/ |
D | ssl.rst | 128 .. 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 …]
|
D | urllib.request.rst | 28 .. 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.c | 4014 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/ |
D | test_ssl.py | 936 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/ |
D | request.py | 140 *, 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/ |
D | test_events.py | 607 cafile=None, capath=None, argument
|
/third_party/python/ |
D | Makefile.pre.in | 1463 test/capath test/cjkencodings \
|
/third_party/python/Doc/whatsnew/ |
D | 3.4.rst | 1449 OpenSSL's default ``cafile`` and ``capath``. This can be an aid in
|
/third_party/python/Misc/ |
D | HISTORY | 4902 the default locations for cafile and capath. 10398 - Issue #12496: Install test/capath directory to prevent test_connect_capath
|