ok
Direktori : /usr/lib64/python2.7/site-packages/M2Crypto/SSL/ |
Current File : //usr/lib64/python2.7/site-packages/M2Crypto/SSL/Session.pyc |
� �1Mc @ sN d Z d d g Z d d l m Z m Z m Z d d d � � YZ d � Z d S( sI SSL Session Copyright (c) 1999-2003 Ng Pheng Siong. All rights reserved.t Sessiont load_sessioni����( t BIOt Errt m2c B sn e Z e j Z d d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z RS( i c C s( | d k s t � | | _ | | _ d S( N( t Nonet AssertionErrort sessiont _pyfree( t selfR R ( ( s: /usr/lib64/python2.7/site-packages/M2Crypto/SSL/Session.pyt __init__ s c C s) t | d d � r% | j | j � n d S( NR i ( t getattrt m2_ssl_session_freeR ( R ( ( s: /usr/lib64/python2.7/site-packages/M2Crypto/SSL/Session.pyt __del__ s c C s | j S( N( R ( R ( ( s: /usr/lib64/python2.7/site-packages/M2Crypto/SSL/Session.pyt _ptr s c C s/ t j � } t j | j � | j � | j � S( N( R t MemoryBufferR t ssl_session_printt bio_ptrR t read_all( R t buf( ( s: /usr/lib64/python2.7/site-packages/M2Crypto/SSL/Session.pyt as_text s c C s/ t j � } t j | j � | j � | j � S( N( R R R t i2d_ssl_sessionR R R ( R R ( ( s: /usr/lib64/python2.7/site-packages/M2Crypto/SSL/Session.pyt as_der s c C s t j | j � | j � S( N( R t ssl_session_write_bioR R ( R t bio( ( s: /usr/lib64/python2.7/site-packages/M2Crypto/SSL/Session.pyt write_bio# s c C s t j | j � S( N( R t ssl_session_get_timeR ( R ( ( s: /usr/lib64/python2.7/site-packages/M2Crypto/SSL/Session.pyt get_time&