Searched refs:create_default_context (Results 1 – 23 of 23) sorted by relevance
/third_party/python/Lib/test/ |
D | test_smtpnet.py | 13 context = ssl.create_default_context() 81 context = ssl.create_default_context()
|
D | ssl_servers.py | 153 context = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH) 197 context = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH)
|
D | test_urllib2_localnet.py | 564 context = ssl.create_default_context(cafile=CERT_localhost) 605 context = ssl.create_default_context(cafile=CERT_localhost)
|
D | audit-tests.py | 194 load_dh_params = ssl.create_default_context().load_dh_params
|
D | test_ssl.py | 1689 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()
|
D | test_urllib.py | 602 context = ssl.create_default_context()
|
D | test_logging.py | 2020 context = ssl.create_default_context(cafile=localhost_cert)
|
/third_party/python/Doc/library/ |
D | ssl.rst | 79 :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 …]
|
D | poplib.rst | 88 :func:`ssl.create_default_context` select the system's trusted CA
|
D | smtplib.rst | 111 :func:`ssl.create_default_context` select the system's trusted CA 415 :func:`ssl.create_default_context` select the system's trusted CA
|
D | ftplib.rst | 115 :func:`ssl.create_default_context` select the system's trusted CA
|
D | http.client.rst | 111 :func:`ssl.create_default_context` select the system's trusted CA
|
D | imaplib.rst | 119 :func:`ssl.create_default_context` select the system's trusted CA
|
D | asyncio-eventloop.rst | 411 from :func:`ssl.create_default_context` is used.
|
D | urllib.request.rst | 121 :func:`ssl.create_default_context` select the system's trusted CA
|
/third_party/python/Lib/ |
D | ssl.py | 740 def create_default_context(purpose=Purpose.SERVER_AUTH, *, cafile=None, function 833 _create_default_https_context = create_default_context
|
/third_party/json/tools/serve_header/ |
D | serve_header.py | 391 ssl_ctx = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH)
|
/third_party/python/Lib/asyncio/ |
D | sslproto.py | 22 sslcontext = ssl.create_default_context()
|
/third_party/python/Lib/urllib/ |
D | request.py | 202 context = ssl.create_default_context(ssl.Purpose.SERVER_AUTH,
|
/third_party/python/Doc/whatsnew/ |
D | 3.4.rst | 1429 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")
|
D | 2.7.rst | 2729 context = ssl.create_default_context(cafile="/path/to/file.crt")
|
/third_party/python/Misc/NEWS.d/ |
D | 3.5.0a1.rst | 1780 using ssl.create_default_context(), for stronger security. 4166 Enhance ssl.create_default_context() when used for server side sockets to
|
/third_party/python/Misc/ |
D | HISTORY | 1193 is now created using ssl.create_default_context(), for stronger security. 2005 - Issue #21013: Enhance ssl.create_default_context() when used for server side 3105 - ssl.create_default_context() sets OP_NO_COMPRESSION to prevent CRIME. 3306 - Issue #19689: Add ssl.create_default_context() factory function. It creates
|