/third_party/python/Lib/test/ |
D | test_smtpnet.py | 31 context.check_hostname = False 66 context.check_hostname = False
|
D | test_ssl.py | 293 context.check_hostname = False 1216 self.assertFalse(ctx.check_hostname) 1220 self.assertTrue(ctx.check_hostname) 1693 self.assertTrue(ctx.check_hostname) 1715 self.assertFalse(ctx.check_hostname) 1728 check_hostname=True 1732 self.assertTrue(ctx.check_hostname) 1743 self.assertFalse(ctx.check_hostname) 1747 ctx.check_hostname = True 1748 self.assertTrue(ctx.check_hostname) [all …]
|
D | test_poplib.py | 385 self.assertEqual(ctx.check_hostname, True) 424 ctx.check_hostname = False
|
D | test_httplib.py | 1743 self.assertEqual(context.check_hostname, True) 1814 context=context, check_hostname=True) 1818 context.check_hostname = False 1821 context=context, check_hostname=False) 1829 context.check_hostname = False 1840 context=context, check_hostname=True)
|
D | test_imaplib.py | 555 self.assertEqual(ssl_context.check_hostname, True) 1044 ssl_context.check_hostname = False
|
D | test_ftplib.py | 978 ctx.check_hostname = False 1011 self.assertEqual(ctx.check_hostname, True)
|
/third_party/python/Lib/http/ |
D | client.py | 1408 check_hostname=None, blocksize=8192): argument 1413 check_hostname is not None): 1429 if check_hostname is None: 1430 check_hostname = context.check_hostname 1431 if check_hostname and not will_verify: 1441 if check_hostname is not None: 1442 self._context.check_hostname = check_hostname
|
/third_party/python/Lib/ |
D | ssl.py | 758 context.check_hostname = True 779 check_hostname=False, purpose=Purpose.SERVER_AUTH, argument 806 context.check_hostname = check_hostname 809 if check_hostname: 810 context.check_hostname = True 1026 if context.check_hostname and not server_hostname:
|
/third_party/python/Lib/test/test_asyncio/ |
D | utils.py | 77 server_context.check_hostname = False 84 client_context.check_hostname = False
|
D | test_events.py | 1002 sslcontext_client.check_hostname = True 1032 sslcontext_client.check_hostname = True 1063 sslcontext_client.check_hostname = True 1093 sslcontext_client.check_hostname = True 1119 sslcontext_client.check_hostname = True
|
/third_party/python/Doc/library/ |
D | http.client.rst | 71 check_hostname=None, blocksize=8192) 81 *source_address*, *context* and *check_hostname* were added. 114 The *check_hostname* parameter is also deprecated; the 115 :attr:`ssl.SSLContext.check_hostname` attribute of *context* should
|
D | poplib.rst | 81 :attr:`ssl.SSLContext.check_hostname` and *Server Name Indication* (see 248 :attr:`ssl.SSLContext.check_hostname` and *Server Name Indication* (see
|
D | ssl.rst | 592 it does not match hostnames. :attr:`~SSLContext.check_hostname` must be 595 enables :attr:`~SSLContext.check_hostname` by default. 693 :attr:`~SSLContext.check_hostname` by default. 1223 :attr:`~SSLContext.check_hostname` attribute of the socket's 1921 .. attribute:: SSLContext.check_hostname 1940 context.check_hostname = True 2042 Whether :attr:`~SSLContext.check_hostname` falls back to verify the cert's 2259 set to :data:`CERT_REQUIRED` and :attr:`~SSLContext.check_hostname` is set 2263 and :attr:`~SSLContext.check_hostname` validate the server certificate: it 2665 check is automatically performed when :attr:`SSLContext.check_hostname` is
|
D | ftplib.rst | 108 :attr:`ssl.SSLContext.check_hostname` and *Server Name Indication* (see 448 :attr:`ssl.SSLContext.check_hostname` and *Server Name Indication* (see
|
D | imaplib.rst | 112 :attr:`ssl.SSLContext.check_hostname` and *Server Name Indication* (see 513 :attr:`ssl.SSLContext.check_hostname` and *Server Name Indication* (see
|
D | nntplib.rst | 126 :attr:`ssl.SSLContext.check_hostname` and *Server Name Indication* (see 274 :attr:`ssl.SSLContext.check_hostname` and *Server Name Indication* (see
|
D | smtplib.rst | 104 :attr:`ssl.SSLContext.check_hostname` and *Server Name Indication* (see 432 :attr:`SSLContext.check_hostname` and *Server Name Indicator* (see
|
D | urllib.request.rst | 423 .. class:: HTTPSHandler(debuglevel=0, context=None, check_hostname=None) 425 A class to handle opening of HTTPS URLs. *context* and *check_hostname* 429 *context* and *check_hostname* were added.
|
/third_party/python/Modules/ |
D | _ssl.c | 284 int check_hostname; member 755 if (self->ctx->check_hostname) { in _ssl_configure_hostname() 3073 self->check_hostname = 1; in _ssl__SSLContext_impl() 3079 self->check_hostname = 0; in _ssl__SSLContext_impl() 3372 if (n == PY_SSL_CERT_NONE && self->check_hostname) { in set_verify_mode() 3637 return PyBool_FromLong(self->check_hostname); in get_check_hostname() 3643 int check_hostname; in set_check_hostname() local 3644 if (!PyArg_Parse(arg, "p", &check_hostname)) in set_check_hostname() 3646 if (check_hostname && in set_check_hostname() 3653 self->check_hostname = check_hostname; in set_check_hostname()
|
/third_party/python/Lib/asyncio/ |
D | sslproto.py | 24 sslcontext.check_hostname = False
|
/third_party/mindspore/mindspore/dataset/engine/ |
D | validators.py | 1118 def check_hostname(hostname): function 1138 if check_hostname(hostname) is False:
|
/third_party/python/Lib/urllib/ |
D | request.py | 1385 def __init__(self, debuglevel=0, context=None, check_hostname=None): argument 1388 self._check_hostname = check_hostname 1392 context=self._context, check_hostname=self._check_hostname)
|
/third_party/python/Misc/NEWS.d/ |
D | 3.5.0a1.rst | 1268 check_hostname attribute over the *check_hostname* parameter.
|
D | 3.7.0a1.rst | 1597 SSLContext.check_hostname now automatically sets SSLContext.verify_mode to
|
/third_party/python/Doc/whatsnew/ |
D | 3.6.rst | 2039 SSL-related arguments like ``certfile``, ``keyfile`` and ``check_hostname``
|