/third_party/python/Lib/test/ |
D | test_ssl.py | 301 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 …]
|
D | test_smtpnet.py | 16 sock = context.wrap_socket(sock, server_hostname=host)
|
D | ssl_servers.py | 37 sslconn = self.context.wrap_socket(sock, server_side=True)
|
D | test_poplib.py | 165 tls_sock = context.wrap_socket(self.socket,
|
D | test_nntplib.py | 1576 def wrap_socket(sock, **args): member in bypass_context 1621 client = context.wrap_socket(
|
D | test_imaplib.py | 101 connstream = context.wrap_socket(newsocket, server_side=True)
|
D | test_ftplib.py | 335 socket = context.wrap_socket(self.socket,
|
/third_party/python/Lib/ |
D | poplib.py | 410 self.sock = context.wrap_socket(self.sock, 456 sock = self.context.wrap_socket(sock,
|
D | ssl.py | 506 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:
|
D | ftplib.py | 756 self.sock = self.context.wrap_socket(self.sock, server_hostname=self.host) 795 conn = self.context.wrap_socket(conn,
|
D | smtplib.py | 790 self.sock = context.wrap_socket(self.sock, 1057 new_socket = self.context.wrap_socket(new_socket,
|
D | imaplib.py | 822 self.sock = ssl_context.wrap_socket(self.sock, 1327 return self.ssl_context.wrap_socket(sock,
|
D | nntplib.py | 292 return context.wrap_socket(sock, server_hostname=hostname)
|
/third_party/python/Doc/library/ |
D | ssl.rst | 50 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/ |
D | 3.7.0b2.rst | 98 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.
|
D | 3.6.0a4.rst | 258 Correct some memory management errors server_hostname in _ssl.wrap_socket().
|
D | 3.5.3rc1.rst | 1167 Correct some memory management errors server_hostname in _ssl.wrap_socket().
|
D | 3.8.0a1.rst | 5641 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/ |
D | functional.py | 136 ssl_sock = ssl_context.wrap_socket(
|
D | utils.py | 164 ssock = context.wrap_socket(request, server_side=True)
|
/third_party/json/tools/serve_header/ |
D | serve_header.py | 395 httpd.socket = ssl_ctx.wrap_socket(httpd.socket, server_side=True)
|
/third_party/python/Lib/http/ |
D | client.py | 1454 self.sock = self._context.wrap_socket(self.sock,
|
/third_party/python/Doc/whatsnew/ |
D | 3.7.rst | 1373 :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`.
|
D | 3.2.rst | 1638 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`.
|
D | 3.10.rst | 1760 * :func:`~ssl.wrap_socket` is replaced by :meth:`ssl.SSLContext.wrap_socket`
|