Searched refs:cert_reqs (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython2/Lib/ |
D | ssl.py | 464 def _create_unverified_context(protocol=PROTOCOL_TLS, cert_reqs=None, argument 485 if cert_reqs is not None: 486 context.verify_mode = cert_reqs 536 server_side=False, cert_reqs=CERT_NONE, argument 556 self._context.verify_mode = cert_reqs 567 self.cert_reqs = cert_reqs 938 server_side=False, cert_reqs=CERT_NONE, argument 945 server_side=server_side, cert_reqs=cert_reqs, 1016 cert_reqs = CERT_REQUIRED 1018 cert_reqs = CERT_NONE [all …]
|
/external/python/cpython3/Lib/ |
D | ssl.py | 581 def _create_unverified_context(protocol=PROTOCOL_TLS, *, cert_reqs=CERT_NONE, argument 602 if cert_reqs is not None: 603 context.verify_mode = cert_reqs 1200 server_side=False, cert_reqs=CERT_NONE, argument 1212 context.verify_mode = cert_reqs 1291 cert_reqs = CERT_REQUIRED 1293 cert_reqs = CERT_NONE 1295 cert_reqs=cert_reqs,
|
/external/python/cpython2/Lib/test/ |
D | test_ssl.py | 677 ssl.wrap_socket(s, cert_reqs=ssl.CERT_NONE) 1211 cert_reqs=ssl.CERT_REQUIRED, 1343 cert_reqs=ssl.CERT_NONE) 1352 cert_reqs=ssl.CERT_REQUIRED) 1359 cert_reqs=ssl.CERT_REQUIRED, 1371 cert_reqs=ssl.CERT_REQUIRED, 1384 cert_reqs=ssl.CERT_REQUIRED, 1413 cert_reqs=ssl.CERT_REQUIRED, 1428 cert_reqs=ssl.CERT_REQUIRED, 1550 cert_reqs=ssl.CERT_NONE, [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_ssl.py | 217 cert_reqs=ssl.CERT_NONE, ca_certs=None, argument 221 if cert_reqs is not None: 222 if cert_reqs == ssl.CERT_NONE: 224 context.verify_mode = cert_reqs 927 test_wrap_socket(s, cert_reqs=ssl.CERT_NONE) 1004 cert_reqs=ssl.CERT_REQUIRED) 1576 cert_reqs=ssl.CERT_REQUIRED, 1837 cert_reqs=ssl.CERT_NONE) as s: 1844 cert_reqs=ssl.CERT_REQUIRED, 1855 cert_reqs=ssl.CERT_REQUIRED) [all …]
|
/external/python/httplib2/python2/httplib2/ |
D | __init__.py | 82 cert_reqs = ssl.CERT_NONE 84 cert_reqs = ssl.CERT_REQUIRED 90 context.verify_mode = cert_reqs 91 context.check_hostname = cert_reqs != ssl.CERT_NONE 102 cert_reqs=cert_reqs,
|
/external/python/setuptools/setuptools/ |
D | ssl_support.py | 195 sock, cert_reqs=ssl.CERT_REQUIRED, ca_certs=self.ca_bundle
|
/external/python/cpython2/Doc/library/ |
D | ssl.rst | 144 .. function:: wrap_socket(sock, keyfile=None, certfile=None, server_side=False, cert_reqs=CERT_NONE… 167 The parameter ``cert_reqs`` specifies whether a certificate is required from 521 Possible value for :attr:`SSLContext.verify_mode`, or the ``cert_reqs`` 531 Possible value for :attr:`SSLContext.verify_mode`, or the ``cert_reqs`` 543 Possible value for :attr:`SSLContext.verify_mode`, or the ``cert_reqs``
|
/external/python/cpython3/Doc/library/ |
D | ssl.rst | 507 server_side=False, cert_reqs=CERT_NONE, ssl_version=PROTOCOL_TLS, \ 517 *ssl_version* and :attr:`SSLContext.options` set to *cert_reqs*. If 543 Possible value for :attr:`SSLContext.verify_mode`, or the ``cert_reqs`` 556 Possible value for :attr:`SSLContext.verify_mode`, or the ``cert_reqs`` 573 Possible value for :attr:`SSLContext.verify_mode`, or the ``cert_reqs``
|