Home
last modified time | relevance | path

Searched refs:load_verify_locations (Results 1 – 24 of 24) 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.py297 context.load_verify_locations(ca_certs)
318 client_context.load_verify_locations(SIGNING_CA)
322 server_context.load_verify_locations(SIGNING_CA)
1377 ctx.load_verify_locations(CERTFILE)
1378 ctx.load_verify_locations(cafile=CERTFILE, capath=None)
1379 ctx.load_verify_locations(BYTES_CERTFILE)
1380 ctx.load_verify_locations(cafile=BYTES_CERTFILE, capath=None)
1381 self.assertRaises(TypeError, ctx.load_verify_locations)
1382 self.assertRaises(TypeError, ctx.load_verify_locations, None, None, None)
1384 ctx.load_verify_locations(NONEXISTINGCERT)
[all …]
Dtest_imaplib.py554 ssl_context.load_verify_locations(CAFILE)
566 ssl_context.load_verify_locations(CAFILE)
944 ssl_context.load_verify_locations(CAFILE)
Dtest_httplib.py1696 context.load_verify_locations(CERT_selfsigned_pythontestdotnet)
1726 context.load_verify_locations(CERT_localhost)
1746 context.load_verify_locations(CERT_localhost)
1759 context.load_verify_locations(CERT_fakehostname)
Dtest_poplib.py377 ctx.load_verify_locations(CAFILE)
Dtest_ftplib.py979 ctx.load_verify_locations(CAFILE)
/external/python/httplib2/tests/
Dtest_https.py145 context.load_verify_locations(cafile=tests.CA_CERTS)
168 context.load_verify_locations(cafile=tests.CA_CERTS)
/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.py566 self.load_verify_locations(cadata=certs)
745 context.load_verify_locations(cafile, capath, cadata)
791 context.load_verify_locations(cafile, capath, cadata)
1400 context.load_verify_locations(ca_certs)
/external/python/pyopenssl/tests/
Dtest_ssl.py1051 clientContext.load_verify_locations(*args)
1118 clientContext.load_verify_locations(tmpfile)
1163 context.load_verify_locations(object())
1165 context.load_verify_locations(object(), object())
1502 clientContext.load_verify_locations(str(tmpdir.join("ca.pem")))
1542 clientContext.load_verify_locations(caFile)
/external/python/pyopenssl/src/OpenSSL/
DSSL.py665 def load_verify_locations(self, cafile, capath=None): member in Context
806 self.load_verify_locations(cafile)
811 self.load_verify_locations(None, capath)
/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
528 :meth:`SSLContext.load_verify_locations`, and
576 be passed, either to :meth:`SSLContext.load_verify_locations` or as a
596 be passed, either to :meth:`SSLContext.load_verify_locations` or as a
619 :attr:`SSLContext.load_verify_locations`, validation will fail.
1529 .. method:: SSLContext.load_verify_locations(cafile=None, capath=None, cadata=None)
2226 >>> context.load_verify_locations("/etc/ssl/certs/ca-bundle.crt")
Durllib.request.rst53 be found in :meth:`ssl.SSLContext.load_verify_locations`.
/external/python/pyopenssl/doc/
DChangeLog_old.txt235 algorithms' results when testing Context.load_verify_locations.
457 Context.load_verify_locations to allow Python code to specify
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_events.py1035 sslcontext_client.load_verify_locations(
1066 sslcontext_client.load_verify_locations(cafile=test_utils.SIGNING_CA)
1092 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/python2/httplib2/
D__init__.py98 context.load_verify_locations(ca_certs)
/external/python/httplib2/python3/httplib2/
D__init__.py214 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).