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 | 758 def _create_unverified_context(protocol=PROTOCOL_TLS, *, cert_reqs=CERT_NONE, argument 779 if cert_reqs is not None: 780 context.verify_mode = cert_reqs 1386 server_side=False, cert_reqs=CERT_NONE, argument 1398 context.verify_mode = cert_reqs 1477 cert_reqs = CERT_REQUIRED 1479 cert_reqs = CERT_NONE 1481 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 | 288 cert_reqs=ssl.CERT_NONE, ca_certs=None, argument 292 if cert_reqs is not None: 293 if cert_reqs == ssl.CERT_NONE: 295 context.verify_mode = cert_reqs 1002 test_wrap_socket(s, cert_reqs=ssl.CERT_NONE) 1079 cert_reqs=ssl.CERT_REQUIRED) 1658 cert_reqs=ssl.CERT_REQUIRED, 1935 cert_reqs=ssl.CERT_NONE) as s: 1942 cert_reqs=ssl.CERT_REQUIRED, 1953 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 107 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 | 515 server_side=False, cert_reqs=CERT_NONE, ssl_version=PROTOCOL_TLS, \ 525 *ssl_version* and :attr:`SSLContext.options` set to *cert_reqs*. If 551 Possible value for :attr:`SSLContext.verify_mode`, or the ``cert_reqs`` 564 Possible value for :attr:`SSLContext.verify_mode`, or the ``cert_reqs`` 581 Possible value for :attr:`SSLContext.verify_mode`, or the ``cert_reqs``
|