Home
last modified time | relevance | path

Searched refs:server_hostname (Results 1 – 25 of 31) sorted by relevance

12

/third_party/python/Lib/
Dssl.py509 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 …]
Dpoplib.py411 server_hostname=self.host)
457 server_hostname=self.host)
Dsmtplib.py791 server_hostname=self._host)
1058 server_hostname=self._host)
Dftplib.py756 self.sock = self.context.wrap_socket(self.sock, server_hostname=self.host)
796 server_hostname=self.host)
Dimaplib.py823 server_hostname=self.host)
1328 server_hostname=self.host)
Dnntplib.py292 return context.wrap_socket(sock, server_hostname=hostname)
/third_party/python/Lib/asyncio/
Dsslproto.py14 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
Dbase_events.py467 *, 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,
Devents.py305 server_hostname=None, argument
373 server_hostname=None, argument
385 server_hostname=None, argument
Dunix_events.py231 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,
Dproactor_events.py643 *, server_side=False, server_hostname=None, argument
648 server_side, server_hostname,
Dselector_events.py71 *, server_side=False, server_hostname=None, argument
76 server_side, server_hostname,
/third_party/python/Lib/test/
Dtest_ssl.py894 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 …]
Dtest_smtpnet.py16 sock = context.wrap_socket(sock, server_hostname=host)
/third_party/python/Lib/test/test_asyncio/
Dfunctional.py134 server_hostname=None): argument
138 server_hostname=server_hostname,
Dtest_sendfile.py267 server_hostname = socket_helper.HOST
269 server_hostname = None
276 ssl=cli_ctx, server_hostname=server_hostname))
Dtest_sslproto.py625 server_hostname='',
666 server_hostname='',
704 server_hostname='',
739 server_hostname='')
Dtest_base_events.py1458 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')
Dtest_events.py656 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.c316 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/
Dclient.py1450 server_hostname = self._tunnel_host
1452 server_hostname = self.host
1455 server_hostname=server_hostname)
/third_party/python/Doc/library/
Dasyncio-stream.rst54 server_hostname=None, ssl_handshake_timeout=None)
122 ssl=None, sock=None, server_hostname=None, \
Dssl.rst93 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 …]
Dasyncio-eventloop.rst370 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/
D3.6.0a4.rst258 Correct some memory management errors server_hostname in _ssl.wrap_socket().

12