Searched refs:create_default_context (Results 1 – 25 of 32) sorted by relevance
12
/external/python/cpython3/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()
|
/external/python/cpython2/Lib/test/ |
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_urllibnet.py | 211 context = ssl.create_default_context(cafile=CERT_selfsigned_pythontestdotnet)
|
D | test_urllib2_localnet.py | 545 context = ssl.create_default_context(cafile=CERT_localhost) 583 context = ssl.create_default_context(cafile=CERT_localhost)
|
D | test_ssl.py | 1159 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)
|
D | test_urllib2.py | 59 context = ssl.create_default_context()
|
/external/python/cpython2/Lib/ |
D | ssl.py | 416 def create_default_context(purpose=Purpose.SERVER_AUTH, cafile=None, function 516 return create_default_context 525 _create_default_https_context = create_default_context
|
D | urllib2.py | 142 context = ssl.create_default_context(purpose=ssl.Purpose.SERVER_AUTH,
|
/external/python/cpython3/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 | http.client.rst | 111 :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 | imaplib.rst | 119 :func:`ssl.create_default_context` select the system's trusted CA
|
/external/python/cpython2/Doc/library/ |
D | ssl.rst | 243 .. 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.
|
D | httplib.rst | 86 :func:`ssl.create_default_context` select the system's trusted CA
|
/external/python/cpython3/Lib/ |
D | ssl.py | 740 def create_default_context(purpose=Purpose.SERVER_AUTH, *, cafile=None, function 833 _create_default_https_context = create_default_context
|
/external/python/cpython3/Lib/asyncio/ |
D | sslproto.py | 22 sslcontext = ssl.create_default_context()
|
/external/python/cpython3/Lib/urllib/ |
D | request.py | 202 context = ssl.create_default_context(ssl.Purpose.SERVER_AUTH,
|
/external/python/cpython3/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")
|
12