| Server IP : 85.155.190.233 / Your IP : 216.73.216.103 Web Server : nginx/1.24.0 System : Linux antigravity-cli 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64 User : wp-moonbloom ( 1001) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/twisted/internet/__pycache__/ |
Upload File : |
�
oj�# � � � d Z ddlmZ ddlmZ ddlmZ ddlmZ G d� d� Z d� Z
G d � d
� Z G d� d� Z G d
� d� Z
y)z�
This module implements memory BIO based TLS support. It is the preferred
implementation and will be used whenever pyOpenSSL 0.10 or newer is installed
(whenever L{twisted.protocols.tls} is importable).
@since: 11.1
� )�directlyProvides)�FileDescriptor)�
ISSLTransport)�TLSMemoryBIOFactoryc �: � e Zd ZdZd� Zd� Zd� Zd� Zd� Zd� Z d� Z
y )
�
_BypassTLSa
L{_BypassTLS} is used as the transport object for the TLS protocol object
used to implement C{startTLS}. Its methods skip any TLS logic which
C{startTLS} enables.
@ivar _base: A transport class L{_BypassTLS} has been mixed in with to which
methods will be forwarded. This class is only responsible for sending
bytes over the connection, not doing TLS.
@ivar _connection: A L{Connection} which TLS has been started on which will
be proxied to by this object. Any method which has its behavior
altered after C{startTLS} will be skipped in favor of the base class's
implementation. This allows the TLS protocol object to have direct
access to the transport, necessary to actually implement TLS.
c � � || _ || _ y )N)�_base�_connection)�self�base�
connections �:/usr/lib/python3/dist-packages/twisted/internet/_newtls.py�__init__z_BypassTLS.__init__&