/third_party/python/Lib/ |
D | ssl.py | 509 server_hostname=None, session=None): argument 517 server_hostname=server_hostname, 523 server_hostname=None, session=None): argument 528 server_hostname=self._encode_hostname(server_hostname), 863 server_hostname=None, session=None, context=None): argument 867 server_hostname=server_hostname, 902 def server_hostname(self): member in SSLObject 905 return self._sslobj.server_hostname 1015 suppress_ragged_eofs=True, server_hostname=None, argument 1020 if server_hostname: [all …]
|
D | poplib.py | 411 server_hostname=self.host) 457 server_hostname=self.host)
|
D | smtplib.py | 791 server_hostname=self._host) 1058 server_hostname=self._host)
|
D | ftplib.py | 756 self.sock = self.context.wrap_socket(self.sock, server_hostname=self.host) 796 server_hostname=self.host)
|
D | imaplib.py | 823 server_hostname=self.host) 1328 server_hostname=self.host)
|
D | nntplib.py | 292 return context.wrap_socket(sock, server_hostname=hostname)
|
/third_party/python/Lib/asyncio/ |
D | sslproto.py | 14 def _create_transport_context(server_side, server_hostname): argument 23 if not server_hostname: 55 def __init__(self, context, server_side, server_hostname=None): argument 68 self._server_hostname = server_hostname 119 server_hostname=self._server_hostname) 411 server_side=False, server_hostname=None, argument 426 server_side, server_hostname) 429 if server_hostname and not server_side: 430 self._server_hostname = server_hostname
|
D | base_events.py | 467 *, server_side=False, server_hostname=None, argument 970 local_addr=None, server_hostname=None, argument 984 if server_hostname is not None and not ssl: 987 if server_hostname is None and ssl: 1001 server_hostname = host 1081 sock, protocol_factory, ssl, server_hostname, 1093 server_hostname, server_side=False, argument 1104 server_side=server_side, server_hostname=server_hostname, 1195 server_hostname=None, argument 1217 server_side, server_hostname,
|
D | events.py | 305 server_hostname=None, argument 373 server_hostname=None, argument 385 server_hostname=None, argument
|
D | unix_events.py | 231 server_hostname=None, argument 233 assert server_hostname is None or isinstance(server_hostname, str) 235 if server_hostname is None: 239 if server_hostname is not None: 269 sock, protocol_factory, ssl, server_hostname,
|
D | proactor_events.py | 643 *, server_side=False, server_hostname=None, argument 648 server_side, server_hostname,
|
D | selector_events.py | 71 *, server_side=False, server_hostname=None, argument 76 server_side, server_hostname,
|
/third_party/python/Lib/test/ |
D | test_ssl.py | 894 server_hostname="some.hostname") 1132 server_hostname=hostname) as s: 1874 server_hostname="") 1877 server_hostname=".example.org") 1880 server_hostname="example.org\x00evil.com") 1958 client = client_ctx.wrap_bio(c_in, c_out, server_hostname=hostname) 2075 server_hostname="dummy") as s: 2092 server_hostname=SIGNED_CERTFILE_HOSTNAME 2107 server_hostname=SIGNED_CERTFILE_HOSTNAME) as s: 2116 server_hostname=SIGNED_CERTFILE_HOSTNAME) as s: [all …]
|
D | test_smtpnet.py | 16 sock = context.wrap_socket(sock, server_hostname=host)
|
/third_party/python/Lib/test/test_asyncio/ |
D | functional.py | 134 server_hostname=None): argument 138 server_hostname=server_hostname,
|
D | test_sendfile.py | 267 server_hostname = socket_helper.HOST 269 server_hostname = None 276 ssl=cli_ctx, server_hostname=server_hostname))
|
D | test_sslproto.py | 625 server_hostname='', 666 server_hostname='', 704 server_hostname='', 739 server_hostname='')
|
D | test_base_events.py | 1458 server_hostname='python.org', 1464 server_hostname='perl.com', 1471 server_hostname='perl.com', 1477 server_hostname='', 1484 server_hostname='', 1490 server_hostname='') 1493 server_hostname='python.org')
|
D | test_events.py | 656 server_hostname='127.0.0.1') 970 server_hostname='') 1037 server_hostname='invalid') 1098 server_hostname='localhost') 1124 server_hostname='localhost')
|
/third_party/python/Modules/ |
D | _ssl.c | 316 PyObject *server_hostname; member 498 sslsock->server_hostname in fill_and_set_sslerror() 504 sslsock->server_hostname in fill_and_set_sslerror() 714 _ssl_configure_hostname(PySSLSocket *self, const char* server_hostname) in _ssl_configure_hostname() argument 721 assert(server_hostname); in _ssl_configure_hostname() 727 len = strlen(server_hostname); in _ssl_configure_hostname() 728 if (len == 0 || *server_hostname == '.') { in _ssl_configure_hostname() 737 ip = a2i_IPADDRESS(server_hostname); in _ssl_configure_hostname() 742 hostname = PyUnicode_Decode(server_hostname, len, "ascii", "strict"); in _ssl_configure_hostname() 746 self->server_hostname = hostname; in _ssl_configure_hostname() [all …]
|
/third_party/python/Lib/http/ |
D | client.py | 1450 server_hostname = self._tunnel_host 1452 server_hostname = self.host 1455 server_hostname=server_hostname)
|
/third_party/python/Doc/library/ |
D | asyncio-stream.rst | 54 server_hostname=None, ssl_handshake_timeout=None) 122 ssl=None, sock=None, server_hostname=None, \
|
D | ssl.rst | 93 with context.wrap_socket(sock, server_hostname=hostname) as ssock: 105 with context.wrap_socket(sock, server_hostname=hostname) as ssock: 1428 .. attribute:: SSLSocket.server_hostname 1436 The attribute is now always ASCII text. When ``server_hostname`` is 1824 server_hostname=None, session=None) 1843 On client connections, the optional parameter *server_hostname* specifies 1846 quite similarly to HTTP virtual hosts. Specifying *server_hostname* will 1866 Always allow a server_hostname to be passed, even if OpenSSL does not 1885 server_hostname=None, session=None) 1892 The *server_side*, *server_hostname* and *session* parameters have the [all …]
|
D | asyncio-eventloop.rst | 370 local_addr=None, server_hostname=None, \ 415 * *server_hostname* sets or overrides the hostname that the target 419 value for *server_hostname*. If *server_hostname* is an empty 572 server_hostname=None, ssl_handshake_timeout=None) 791 server_hostname=None, ssl_handshake_timeout=None) 810 * *server_hostname*: sets or overrides the host name that the target
|
/third_party/python/Misc/NEWS.d/ |
D | 3.6.0a4.rst | 258 Correct some memory management errors server_hostname in _ssl.wrap_socket().
|