Home
last modified time | relevance | path

Searched refs:load_verify_locations (Results 1 – 20 of 20) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_ssl.py913 ctx.load_verify_locations(CERTFILE)
914 ctx.load_verify_locations(cafile=CERTFILE, capath=None)
915 ctx.load_verify_locations(BYTES_CERTFILE)
916 ctx.load_verify_locations(cafile=BYTES_CERTFILE, capath=None)
917 ctx.load_verify_locations(cafile=BYTES_CERTFILE.decode('utf-8'))
918 self.assertRaises(TypeError, ctx.load_verify_locations)
919 self.assertRaises(TypeError, ctx.load_verify_locations, None, None, None)
921 ctx.load_verify_locations(NONEXISTINGCERT)
924 ctx.load_verify_locations(u'')
926 ctx.load_verify_locations(BADCERT)
[all …]
Dtest_httplib.py865 context.load_verify_locations(CERT_selfsigned_pythontestdotnet)
879 context.load_verify_locations(CERT_localhost)
900 context.load_verify_locations(CERT_localhost)
913 context.load_verify_locations(CERT_fakehostname)
Dtest_ftplib.py750 ctx.load_verify_locations(CAFILE)
/external/python/cpython3/Lib/test/
Dtest_ssl.py226 context.load_verify_locations(ca_certs)
247 client_context.load_verify_locations(SIGNING_CA)
251 server_context.load_verify_locations(SIGNING_CA)
1295 ctx.load_verify_locations(CERTFILE)
1296 ctx.load_verify_locations(cafile=CERTFILE, capath=None)
1297 ctx.load_verify_locations(BYTES_CERTFILE)
1298 ctx.load_verify_locations(cafile=BYTES_CERTFILE, capath=None)
1299 self.assertRaises(TypeError, ctx.load_verify_locations)
1300 self.assertRaises(TypeError, ctx.load_verify_locations, None, None, None)
1302 ctx.load_verify_locations(NONEXISTINGCERT)
[all …]
Dtest_imaplib.py509 ssl_context.load_verify_locations(CAFILE)
521 ssl_context.load_verify_locations(CAFILE)
898 ssl_context.load_verify_locations(CAFILE)
Dtest_httplib.py1627 context.load_verify_locations(CERT_selfsigned_pythontestdotnet)
1642 context.load_verify_locations(CERT_localhost)
1662 context.load_verify_locations(CERT_localhost)
1675 context.load_verify_locations(CERT_fakehostname)
Dtest_poplib.py372 ctx.load_verify_locations(CAFILE)
Dtest_ftplib.py951 ctx.load_verify_locations(CAFILE)
/external/python/cpython2/Lib/
Dssl.py404 self.load_verify_locations(cadata=certs)
456 context.load_verify_locations(cafile, capath, cadata)
496 context.load_verify_locations(cafile, capath, cadata)
558 self._context.load_verify_locations(ca_certs)
/external/python/cpython3/Lib/
Dssl.py471 self.load_verify_locations(cadata=certs)
573 context.load_verify_locations(cafile, capath, cadata)
614 context.load_verify_locations(cafile, capath, cadata)
1214 context.load_verify_locations(ca_certs)
/external/python/cpython2/Doc/library/
Dssl.rst252 :meth:`SSLContext.load_verify_locations`. If all three are
538 be passed, either to :meth:`SSLContext.load_verify_locations` or as a
549 be passed, either to :meth:`SSLContext.load_verify_locations` or as a
566 :attr:`SSLContext.load_verify_locations`, validation will fail.
1122 .. method:: SSLContext.load_verify_locations(cafile=None, capath=None, cadata=None)
1545 >>> context.load_verify_locations("/etc/ssl/certs/ca-bundle.crt")
Durllib2.rst56 :meth:`ssl.SSLContext.load_verify_locations`.
/external/python/cpython3/Doc/library/
Dssl.rst95 context.load_verify_locations('path/to/cabundle.pem')
130 :meth:`SSLContext.load_verify_locations`. If all three are
520 :meth:`SSLContext.load_verify_locations`, and
568 be passed, either to :meth:`SSLContext.load_verify_locations` or as a
588 be passed, either to :meth:`SSLContext.load_verify_locations` or as a
611 :attr:`SSLContext.load_verify_locations`, validation will fail.
1517 .. method:: SSLContext.load_verify_locations(cafile=None, capath=None, cadata=None)
2187 >>> context.load_verify_locations("/etc/ssl/certs/ca-bundle.crt")
Durllib.request.rst53 be found in :meth:`ssl.SSLContext.load_verify_locations`.
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_events.py1164 sslcontext_client.load_verify_locations(
1195 sslcontext_client.load_verify_locations(cafile=test_utils.SIGNING_CA)
1220 sslcontext_client.load_verify_locations(cafile=test_utils.SIGNING_CA)
/external/python/cpython2/Modules/
D_ssl.c2914 load_verify_locations(PySSLContext *self, PyObject *args, PyObject *kwds) in load_verify_locations() function
3491 {"load_verify_locations", (PyCFunction) load_verify_locations,
/external/python/httplib2/python3/httplib2/
D__init__.py194 context.load_verify_locations(ca_certs)
/external/python/httplib2/python2/httplib2/
D__init__.py95 context.load_verify_locations(ca_certs)
/external/python/cpython3/Doc/whatsnew/
D3.4.rst158 :func:`ssl.SSLContext.load_verify_locations`).
1441 :class:`~ssl.SSLContext` method :meth:`~ssl.SSLContext.load_verify_locations`
/external/python/cpython3/Misc/
DHISTORY10720 - Issue #10989: Fix a crash on SSLContext.load_verify_locations(None, True).