Home
last modified time | relevance | path

Searched refs:cert_reqs (Results 1 – 9 of 9) sorted by relevance

/external/python/cpython2/Lib/
Dssl.py464 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/
Dssl.py778 def _create_unverified_context(protocol=None, *, cert_reqs=CERT_NONE, argument
807 if cert_reqs is not None:
808 context.verify_mode = cert_reqs
1418 server_side=False, cert_reqs=CERT_NONE, argument
1434 context.verify_mode = cert_reqs
1516 cert_reqs = CERT_REQUIRED
1518 cert_reqs = CERT_NONE
1520 cert_reqs=cert_reqs,
/external/python/cpython2/Lib/test/
Dtest_ssl.py677 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/httplib2/python2/httplib2/
D__init__.py82 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/autotest/utils/frozen_chromite/third_party/python2/httplib2/
D__init__.py82 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/cpython3/Lib/test/
Dtest_ssl.py283 cert_reqs=ssl.CERT_NONE, ca_certs=None, argument
291 if cert_reqs is not None:
292 if cert_reqs == ssl.CERT_NONE:
294 context.verify_mode = cert_reqs
1038 test_wrap_socket(s, cert_reqs=ssl.CERT_NONE)
1115 cert_reqs=ssl.CERT_REQUIRED)
1727 cert_reqs=ssl.CERT_REQUIRED,
2007 cert_reqs=ssl.CERT_NONE) as s:
2014 cert_reqs=ssl.CERT_REQUIRED,
2025 cert_reqs=ssl.CERT_REQUIRED)
[all …]
/external/python/google-auth-library-python/google/auth/transport/
Durllib3.py150 return urllib3.PoolManager(cert_reqs="CERT_REQUIRED", ca_certs=certifi.where())
/external/python/cpython2/Doc/library/
Dssl.rst144 .. 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/
Dssl.rst521 server_side=False, cert_reqs=CERT_NONE, ssl_version=PROTOCOL_TLS, \
531 *ssl_version* and :attr:`SSLContext.options` set to *cert_reqs*. If
557 Possible value for :attr:`SSLContext.verify_mode`, or the ``cert_reqs``
570 Possible value for :attr:`SSLContext.verify_mode`, or the ``cert_reqs``
587 Possible value for :attr:`SSLContext.verify_mode`, or the ``cert_reqs``