Home
last modified time | relevance | path

Searched refs:create_default_context (Results 1 – 25 of 32) sorted by relevance

12

/external/python/cpython3/Lib/test/
Dtest_smtpnet.py13 context = ssl.create_default_context()
81 context = ssl.create_default_context()
Dssl_servers.py153 context = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH)
197 context = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH)
Dtest_urllib2_localnet.py564 context = ssl.create_default_context(cafile=CERT_localhost)
605 context = ssl.create_default_context(cafile=CERT_localhost)
Daudit-tests.py194 load_dh_params = ssl.create_default_context().load_dh_params
Dtest_ssl.py1689 ctx = ssl.create_default_context()
1698 ctx = ssl.create_default_context(cafile=SIGNING_CA, capath=CAPATH,
1704 ctx = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH)
1871 ctx = ssl.create_default_context()
3541 context = ssl.create_default_context(cafile=SIGNING_CA)
4805 ctx = ssl.create_default_context()
Dtest_urllib.py602 context = ssl.create_default_context()
/external/python/cpython2/Lib/test/
Dssl_servers.py153 context = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH)
197 context = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH)
Dtest_urllibnet.py211 context = ssl.create_default_context(cafile=CERT_selfsigned_pythontestdotnet)
Dtest_urllib2_localnet.py545 context = ssl.create_default_context(cafile=CERT_localhost)
583 context = ssl.create_default_context(cafile=CERT_localhost)
Dtest_ssl.py1159 ctx = ssl.create_default_context()
1171 ctx = ssl.create_default_context(cafile=SIGNING_CA, capath=CAPATH,
1181 ctx = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH)
1233 local_ssl.create_default_context)
1241 local_ssl.create_default_context)
1246 local_ssl.create_default_context)
2494 context = ssl.create_default_context(cafile=CERTFILE)
Dtest_urllib2.py59 context = ssl.create_default_context()
/external/python/cpython2/Lib/
Dssl.py416 def create_default_context(purpose=Purpose.SERVER_AUTH, cafile=None, function
516 return create_default_context
525 _create_default_https_context = create_default_context
Durllib2.py142 context = ssl.create_default_context(purpose=ssl.Purpose.SERVER_AUTH,
/external/python/cpython3/Doc/library/
Dssl.rst79 :func:`create_default_context` returns a new context with secure default
90 context = ssl.create_default_context()
128 .. function:: create_default_context(purpose=Purpose.SERVER_AUTH, cafile=None, capath=None, cadata=…
151 variable :envvar:`SSLKEYLOGFILE` is set, :func:`create_default_context`
172 ctx = ssl.create_default_context(Purpose.CLIENT_AUTH)
1057 Option for :func:`create_default_context` and
1066 Option for :func:`create_default_context` and
1500 :func:`create_default_context` lets the :mod:`ssl` module choose
2008 >>> ssl.create_default_context().options # doctest: +SKIP
2072 >>> ssl.create_default_context().verify_flags # doctest: +SKIP
[all …]
Dpoplib.rst88 :func:`ssl.create_default_context` select the system's trusted CA
Dsmtplib.rst111 :func:`ssl.create_default_context` select the system's trusted CA
415 :func:`ssl.create_default_context` select the system's trusted CA
Dhttp.client.rst111 :func:`ssl.create_default_context` select the system's trusted CA
Dftplib.rst115 :func:`ssl.create_default_context` select the system's trusted CA
Dimaplib.rst119 :func:`ssl.create_default_context` select the system's trusted CA
/external/python/cpython2/Doc/library/
Dssl.rst243 .. function:: create_default_context(purpose=Purpose.SERVER_AUTH, cafile=None, capath=None, cadata=…
282 ctx = ssl.create_default_context(Purpose.CLIENT_AUTH)
849 Option for :func:`create_default_context` and
858 Option for :func:`create_default_context` and
1063 :func:`create_default_context` lets the :mod:`ssl` module choose
1459 automatically with :func:`.create_default_context`.
1536 >>> context = ssl.create_default_context()
1644 context = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH)
1732 :func:`create_default_context` function to create your SSL context.
Dhttplib.rst86 :func:`ssl.create_default_context` select the system's trusted CA
/external/python/cpython3/Lib/
Dssl.py740 def create_default_context(purpose=Purpose.SERVER_AUTH, *, cafile=None, function
833 _create_default_https_context = create_default_context
/external/python/cpython3/Lib/asyncio/
Dsslproto.py22 sslcontext = ssl.create_default_context()
/external/python/cpython3/Lib/urllib/
Drequest.py202 context = ssl.create_default_context(ssl.Purpose.SERVER_AUTH,
/external/python/cpython3/Doc/whatsnew/
D3.4.rst1429 New function :func:`~ssl.create_default_context` provides a standard way to
1436 :func:`~ssl.create_default_context` to obtain an :class:`~ssl.SSLContext`
2543 context = ssl.create_default_context(cafile="/path/to/file.crt")

12