Searched refs:SSLSocket (Results 1 – 25 of 29) sorted by relevance
12
/third_party/python/Doc/library/ |
D | ssl.rst | 41 This module provides a class, :class:`ssl.SSLSocket`, which is derived from the 78 sockets as :class:`SSLSocket` objects. The helper functions 362 :meth:`SSLSocket.getpeercert`) matches the given *hostname*. The rules 526 of :class:`ssl.SSLSocket`, a subtype of :class:`socket.socket`, which wraps 1002 can be used as arguments to :meth:`SSLSocket.get_channel_binding`. 1110 .. class:: SSLSocket(socket.socket) 1139 Instances of :class:`SSLSocket` must be created using the 1151 It is deprecated to create a :class:`SSLSocket` instance directly, use 1155 :class:`SSLSocket` instances must to created with 1167 .. method:: SSLSocket.read(len=1024, buffer=None) [all …]
|
D | asyncio-protocol.rst | 202 of :meth:`ssl.SSLSocket.compression` 207 :meth:`ssl.SSLSocket.cipher` 210 :meth:`ssl.SSLSocket.getpeercert` 215 :class:`ssl.SSLSocket` instance
|
/third_party/python/Lib/test/ |
D | test_ftplib.py | 424 if (isinstance(self.socket, ssl.SSLSocket) and 933 self.assertNotIsInstance(self.client.sock, ssl.SSLSocket) 935 self.assertIsInstance(self.client.sock, ssl.SSLSocket) 940 self.assertNotIsInstance(sock, ssl.SSLSocket) 948 self.assertIsInstance(sock, ssl.SSLSocket) 958 self.assertNotIsInstance(sock, ssl.SSLSocket) 965 self.assertNotIsInstance(self.client.sock, ssl.SSLSocket) 967 self.assertIsInstance(self.client.sock, ssl.SSLSocket) 989 self.assertNotIsInstance(self.client.sock, ssl.SSLSocket) 992 self.assertIsInstance(self.client.sock, ssl.SSLSocket) [all …]
|
D | test_poplib.py | 437 self.assertIsInstance(self.client.sock, ssl.SSLSocket)
|
D | test_ssl.py | 369 ssl.SSLSocket(s) 1796 class MySSLSocket(ssl.SSLSocket): 2699 if isinstance(self.socket, ssl.SSLSocket): 3855 self.assertIsInstance(remote, ssl.SSLSocket) 4830 self.assertIsInstance(conn, ssl.SSLSocket)
|
D | test_nntplib.py | 1641 self.assertIsInstance(self.nntp.sock, ssl.SSLSocket)
|
/third_party/python/Lib/ |
D | ftplib.py | 681 _SSLSocket = ssl.SSLSocket 744 if secure and not isinstance(self.sock, ssl.SSLSocket): 750 if isinstance(self.sock, ssl.SSLSocket): 762 if not isinstance(self.sock, ssl.SSLSocket):
|
D | ssl.py | 1001 class SSLSocket(socket): class 1034 super(SSLSocket, self).__init__(**kwargs) 1413 SSLContext.sslsocket_class = SSLSocket
|
/third_party/python/Doc/whatsnew/ |
D | 3.5.rst | 1756 support for cases when the network I/O capabilities of :class:`~ssl.SSLSocket` 1763 implementing asynchronous I/O for which :class:`~ssl.SSLSocket`'s readiness 1784 :meth:`SSLSocket.selected_alpn_protocol() <ssl.SSLSocket.selected_alpn_protocol>` 1792 There is a new :meth:`SSLSocket.version() <ssl.SSLSocket.version>` method to 1796 The :class:`~ssl.SSLSocket` class now implements 1797 a :meth:`SSLSocket.sendfile() <ssl.SSLSocket.sendfile>` method. 1800 The :meth:`SSLSocket.send() <ssl.SSLSocket.send>` method now raises either 1810 :meth:`SSLSocket.shared_ciphers() <ssl.SSLSocket.shared_ciphers>` methods return 1814 The :meth:`SSLSocket.do_handshake() <ssl.SSLSocket.do_handshake>`, 1815 :meth:`SSLSocket.read() <ssl.SSLSocket.read>`, [all …]
|
D | 3.4.rst | 1490 The dictionary returned by :meth:`.SSLSocket.getpeercert` contains additional 2360 * :meth:`ssl.SSLSocket.getpeercert` and :meth:`ssl.SSLSocket.do_handshake` 2361 now raise an :exc:`OSError` with ``ENOTCONN`` when the ``SSLSocket`` is not 2363 :exc:`AttributeError`. In addition, :meth:`~ssl.SSLSocket.getpeercert`
|
D | 3.7.rst | 1357 :attr:`SSLSocket.server_hostname <ssl.SSLSocket.server_hostname>` attribute 1370 :class:`~ssl.SSLSocket` and :class:`~ssl.SSLObject` no longer have a public 2177 * Direct instantiation of :class:`ssl.SSLSocket` and :class:`ssl.SSLObject`
|
D | 3.3.rst | 1948 * SSL sockets have a new :meth:`~ssl.SSLSocket.get_channel_binding` method 1953 to its new :meth:`~ssl.SSLSocket.compression` method. The new attribute
|
D | 3.9.rst | 376 methods with an :class:`ssl.SSLSocket` socket.
|
D | 3.8.rst | 1182 :meth:`~ssl.SSLSocket.verify_client_post_handshake` to initiate TLS 1.3
|
/third_party/python/Misc/NEWS.d/ |
D | 3.7.0b2.rst | 96 Direct instantiation of SSLSocket and SSLObject objects is now prohibited. 370 Internal implementation details of ssl module were cleaned up. The SSLSocket 372 handled by the SSLSocket and SSLObject constructor. Channel binding
|
D | 3.9.0a2.rst | 271 Fix asyncio when the ssl module is missing: only check for ssl.SSLSocket 552 Make Python compatible with OpenSSL 3.0.0. :func:`ssl.SSLSocket.getpeercert` 848 methods with an :class:`ssl.SSLSocket` socket. Patch by Ido Michael.
|
D | 3.5.1rc1.rst | 798 Fix (another) memory leak in SSLSocket.getpeercer(). 817 Fix memory leak in SSLSocket.getpeercert().
|
D | 3.7.0b1.rst | 661 Use super().method instead of socket.method in SSLSocket. They were there
|
D | 3.6.0a1.rst | 1331 Change SSLSocket.sendall() to return None, as explicitly documented for 1404 SSLSocket.recv() or read(). 3013 Fix (another) memory leak in SSLSocket.getpeercer(). 3032 Fix memory leak in SSLSocket.getpeercert().
|
D | 3.6.3rc1.rst | 327 SSLSocket.sendall() now uses memoryview to create slices of data. This fixes
|
D | 3.6.0b1.rst | 539 include manual creation of SSLSocket and certfile/keyfile (or similar) in
|
D | 3.5.2rc1.rst | 886 SSLSocket.recv() or read().
|
D | 3.8.0a1.rst | 3102 SSLSocket.verify_client_post_handshake for TLS 1.3's post handshake 5639 Direct instantiation of SSLSocket and SSLObject objects is now prohibited. 5964 Internal implementation details of ssl module were cleaned up. The SSLSocket 5966 handled by the SSLSocket and SSLObject constructor. Channel binding
|
D | 3.5.0a1.rst | 1073 Add ssl.SSLObject.shared_ciphers() and ssl.SSLSocket.shared_ciphers() to 3792 SSLSocket.send() now raises either SSLWantReadError or SSLWantWriteError on
|
/third_party/python/Lib/asyncio/ |
D | selector_events.py | 44 if ssl is not None and isinstance(sock, ssl.SSLSocket):
|
12