%PDF- %PDF-
Direktori : /lib/python3/dist-packages/twisted/test/__pycache__/ |
Current File : //lib/python3/dist-packages/twisted/test/__pycache__/test_ssl.cpython-312.pyc |
� Ϫ�f�Z � � � d Z ddlZddlZddlmZmZmZmZ ddlm Z ddl mZ ddlm Z ddlmZ ddlmZ dd lmZ dd lmZ ddlmamZ ddlma dd lmZmZ ddlm Z G d� de jB � Z" G d� de jB � Z# G d� dejH � Z% G d� dejH � Z& e ejN � G d� dejH � � Z(d� Z)d� Z* G d� d� Z+t. � G d� dt2 jX � Z- G d � d!ee� Z. G d"� d#e� Z/ G d$� d%e/� Z0 G d&� d'e� Z1 G d(� d)ee+� Z2 G d*� d+� Z3 G d,� d-e� Z4 G d.� d/e� Z5y# e$ r d� Z e� Y ��w xY w)0z Tests for twisted SSL support. � N)�defer� interfaces�protocol�reactor)�ConnectionDone)�waitUntilAllDisconnected)�basic)�FilePath)�platform)�ProperlyCloseFilesMixin)�TestCase)�SSL�crypto)�ssl)�ClientTLSContext�certPathc � � d xa ay �N)r r � � �7/usr/lib/python3/dist-packages/twisted/test/test_ssl.py�_noSSLr s � � ���cr )�implementerc �8 � e Zd ZdZg d�ZddgZd� Zd� Zd� Zd� Z y ) �UnintelligentProtocola @ivar deferred: a deferred that will fire at connection lost. @type deferred: L{defer.Deferred} @cvar pretext: text sent before TLS is set up. @type pretext: C{bytes} @cvar posttext: text sent after TLS is set up. @type posttext: C{bytes} )s first lines last thing before tls starts� STARTTLSs first thing after tls starteds last thing everc �6 � t j � | _ y r �r �Deferred�deferred��selfs r �__init__zUnintelligentProtocol.__init__7 � � ����(�� r c �H � | j D ] }| j |� � y r )�pretext�sendLine)r"