Searched refs:create_default_context (Results 1 – 25 of 33) sorted by relevance
12
/external/python/cpython3/Lib/test/ |
D | test_smtpnet.py | 12 context = ssl.create_default_context() 80 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 | audit-tests.py | 167 load_dh_params = ssl.create_default_context().load_dh_params
|
D | test_urllib2_localnet.py | 563 context = ssl.create_default_context(cafile=CERT_localhost) 604 context = ssl.create_default_context(cafile=CERT_localhost)
|
D | test_ssl.py | 1625 ctx = ssl.create_default_context() 1634 ctx = ssl.create_default_context(cafile=SIGNING_CA, capath=CAPATH, 1640 ctx = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH) 1801 ctx = ssl.create_default_context() 3410 context = ssl.create_default_context(cafile=SIGNING_CA) 4664 ctx = ssl.create_default_context()
|
D | test_urllib.py | 600 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/setuptools/setuptools/ |
D | ssl_support.py | 190 ctx = ssl.create_default_context(cafile=self.ca_bundle)
|
/external/python/cpython3/Doc/library/ |
D | ssl.rst | 72 :func:`create_default_context` returns a new context with secure default 83 context = ssl.create_default_context() 121 .. function:: create_default_context(purpose=Purpose.SERVER_AUTH, cafile=None, capath=None, cadata=… 143 variable :envvar:`SSLKEYLOGFILE` is set, :func:`create_default_context` 164 ctx = ssl.create_default_context(Purpose.CLIENT_AUTH) 1023 Option for :func:`create_default_context` and 1032 Option for :func:`create_default_context` and 1452 :func:`create_default_context` lets the :mod:`ssl` module choose 1994 >>> ssl.create_default_context().options # doctest: +SKIP 2047 >>> 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 414 :func:`ssl.create_default_context` select the system's trusted CA
|
D | ftplib.rst | 113 :func:`ssl.create_default_context` select the system's trusted CA
|
D | http.client.rst | 106 :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 | 723 def create_default_context(purpose=Purpose.SERVER_AUTH, *, cafile=None, function 805 _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,
|
12