Home
last modified time | relevance | path

Searched refs:wrap_socket (Results 1 – 25 of 32) sorted by relevance

12

/third_party/python/Lib/test/
Dtest_ssl.py301 return context.wrap_socket(sock, **kwargs)
643 ssl.wrap_socket, sock, keyfile=CERTFILE)
646 ssl.wrap_socket, sock, server_side=True)
649 ssl.wrap_socket, sock, server_side=True, certfile="")
650 with ssl.wrap_socket(sock, server_side=True, certfile=CERTFILE) as s:
655 ssl.wrap_socket(sock, certfile=NONEXISTINGCERT)
659 ssl.wrap_socket(sock,
664 ssl.wrap_socket(sock,
893 self.assertRaises(ValueError, ctx.wrap_socket, sock, True,
1042 ctx.wrap_socket(s)
[all …]
Dtest_smtpnet.py16 sock = context.wrap_socket(sock, server_hostname=host)
Dssl_servers.py37 sslconn = self.context.wrap_socket(sock, server_side=True)
Dtest_poplib.py165 tls_sock = context.wrap_socket(self.socket,
Dtest_nntplib.py1576 def wrap_socket(sock, **args): member in bypass_context
1621 client = context.wrap_socket(
Dtest_imaplib.py101 connstream = context.wrap_socket(newsocket, server_side=True)
Dtest_ftplib.py335 socket = context.wrap_socket(self.socket,
/third_party/python/Lib/
Dpoplib.py410 self.sock = context.wrap_socket(self.sock,
456 sock = self.context.wrap_socket(sock,
Dssl.py506 def wrap_socket(self, sock, server_side=False, member in SSLContext
1387 newsock = self.context.wrap_socket(newsock,
1417 def wrap_socket(sock, keyfile=None, certfile=None, function
1441 return context.wrap_socket(
1523 with context.wrap_socket(sock, server_hostname=host) as sslsock:
Dftplib.py756 self.sock = self.context.wrap_socket(self.sock, server_hostname=self.host)
795 conn = self.context.wrap_socket(conn,
Dsmtplib.py790 self.sock = context.wrap_socket(self.sock,
1057 new_socket = self.context.wrap_socket(new_socket,
Dimaplib.py822 self.sock = ssl_context.wrap_socket(self.sock,
1327 return self.ssl_context.wrap_socket(sock,
Dnntplib.py292 return context.wrap_socket(sock, server_hostname=hostname)
/third_party/python/Doc/library/
Dssl.rst50 by SSL sockets created through the :meth:`SSLContext.wrap_socket` method.
77 :meth:`SSLContext.wrap_socket` of an :class:`SSLContext` instance to wrap
80 settings. The old :func:`wrap_socket` function is deprecated since it is
93 with context.wrap_socket(sock, server_hostname=hostname) as ssock:
105 with context.wrap_socket(sock, server_hostname=hostname) as ssock:
117 with context.wrap_socket(sock, server_side=True) as ssock:
438 :meth:`SSLContext.wrap_socket`. The call will attempt to validate the
520 .. function:: wrap_socket(sock, keyfile=None, certfile=None, \
539 :meth:`SSLContext.wrap_socket`.
544 :meth:`SSLContext.wrap_socket` instead of :func:`wrap_socket`. The
[all …]
/third_party/python/Misc/NEWS.d/
D3.7.0b2.rst98 constructors. Users were suppose to use ssl.wrap_socket() or SSLContext.
432 The ssl module function ssl.wrap_socket() has been de-emphasized and
434 SSLContext.wrap_socket() method.
D3.6.0a4.rst258 Correct some memory management errors server_hostname in _ssl.wrap_socket().
D3.5.3rc1.rst1167 Correct some memory management errors server_hostname in _ssl.wrap_socket().
D3.8.0a1.rst5641 constructors. Users were suppose to use ssl.wrap_socket() or SSLContext.
6565 The ssl module function ssl.wrap_socket() has been de-emphasized and
6567 SSLContext.wrap_socket() method.
/third_party/python/Lib/test/test_asyncio/
Dfunctional.py136 ssl_sock = ssl_context.wrap_socket(
Dutils.py164 ssock = context.wrap_socket(request, server_side=True)
/third_party/json/tools/serve_header/
Dserve_header.py395 httpd.socket = ssl_ctx.wrap_socket(httpd.socket, server_side=True)
/third_party/python/Lib/http/
Dclient.py1454 self.sock = self._context.wrap_socket(self.sock,
/third_party/python/Doc/whatsnew/
D3.7.rst1373 :meth:`~ssl.SSLContext.wrap_socket` and :meth:`~ssl.SSLContext.wrap_bio`.
2056 :func:`ssl.wrap_socket` is deprecated. Use
2057 :meth:`ssl.SSLContext.wrap_socket` instead.
2180 :func:`ssl.wrap_socket` or :class:`ssl.SSLContext`.
D3.2.rst1638 other options. It includes a :meth:`~ssl.SSLContext.wrap_socket` for creating
1645 * The :func:`ssl.wrap_socket` constructor function now takes a *ciphers*
1654 the *server_hostname* argument to :meth:`ssl.SSLContext.wrap_socket`.
D3.10.rst1760 * :func:`~ssl.wrap_socket` is replaced by :meth:`ssl.SSLContext.wrap_socket`

12