%PDF- %PDF-
Direktori : /lib/python3/dist-packages/twisted/internet/__pycache__/ |
Current File : //lib/python3/dist-packages/twisted/internet/__pycache__/_newtls.cpython-312.pyc |
� Ϫ�f�# � � � 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__&