ok
Direktori : /proc/self/root/proc/self/root/lib/python2.7/site-packages/rhn/ |
Current File : //proc/self/root/proc/self/root/lib/python2.7/site-packages/rhn/SSL.pyo |
� ���[c @ s� d Z d d l m Z d d l m Z d d l Z d d l Z d d l Z d d l Z d Z d f d � � YZ d � Z d e j e j f d � � YZ d S( sK rhn.SSL builds an abstraction on top of the objects provided by pyOpenSSL i����( t SSL( t cryptoNix t SSLSocketc B s� e Z d Z d d � Z d � Z d � Z d d � Z d � Z d � Z d � Z d � Z d � Z d � Z d d � Z d d � Z d � Z d � Z d � Z e Z e Z d d � Z RS( sM Class that wraps a pyOpenSSL Connection object, adding more methods c C s� d | _ d | _ | | _ g | _ | p- g } x | D] } | j | � q7 Wt j | _ t j | _ d | _ d | _ d | _ d | _ d | _ d S( Ni i t ( t Nonet _ctxt _connectiont _sockt _trusted_certst add_trusted_certR t SSLv23_METHODt _ssl_methodt VERIFY_PEERt _ssl_verify_flagst _buffer_sizet _post _buffert _makefile_calledt _closed( t selft sockett trusted_certst f( ( s+ /usr/lib/python2.7/site-packages/rhn/SSL.pyt __init__+ s c C s9 t j | t j � s% t d | � n | j j | � d S( sh Adds a trusted certificate to the certificate store of the SSL context object. s"