ok
Direktori : /usr/lib64/python2.7/site-packages/M2Crypto/PGP/ |
Current File : //usr/lib64/python2.7/site-packages/M2Crypto/PGP/PublicKeyRing.pyc |
� �1Mc @ sG d Z d d l Td d l Td d l Td d d � � YZ d d � Z d S( sL M2Crypto PGP2. Copyright (c) 1999-2003 Ng Pheng Siong. All rights reserved.i����( t *t PublicKeyRingc B sG e Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z RS( c C sM d d l } | j d t � | | _ i | _ i | _ g | _ g | _ d S( Ni����sV Deprecated. No maintainer for PGP. If you use this, please inform M2Crypto maintainer.( t warningst warnt DeprecationWarningt _keyringt _useridt _keyidt _spurioust _pubkey( t selft keyringR ( ( s@ /usr/lib64/python2.7/site-packages/M2Crypto/PGP/PublicKeyRing.pyt __init__ s c C s( d } d } t | j � } x� | j � } | d k r: Pq t | t � rr | d } t | � } | j j | � q t | t � r� | d k r� | j j | � q| j | � | | f | j | j � <q t | t � r| d k r� | j j | � q| j | � q | j j | � q | j � d S( Ni����i ( t Nonet packet_streamR t readt isinstancet public_key_packett PublicKeyR t appendt userid_packetR t add_useridR t useridt signature_packett add_signaturet close( R t curr_pubt curr_indext pst pkt( ( s@ /usr/lib64/python2.7/site-packages/M2Crypto/PGP/PublicKeyRing.pyt load s, c C s | j | d S( Ni ( R ( R t id( ( s@ /usr/lib64/python2.7/site-packages/M2Crypto/PGP/PublicKeyRing.pyt __getitem__7 s c G s t � d S( N( t NotImplementedError( R t args( ( s@ /usr/lib64/python2.7/site-packages/M2Crypto/PGP/PublicKeyRing.pyt __setitem__: s c C sH | j | \ } } | j | =| j | =| j | \ } } | j | =d S( N( R R R ( R R R t idx( ( s@ /usr/lib64/python2.7/site-packages/M2Crypto/PGP/PublicKeyRing.pyt __delitem__= s c C s t | j � S( N( t tupleR ( R ( ( s@ /usr/lib64/python2.7/site-packages/M2Crypto/PGP/PublicKeyRing.pyt spuriousD s c C s1 x* | j D] } | j � } | j | � q Wd S( N( R t packt write( R R t pt pp( ( s@ /usr/lib64/python2.7/site-packages/M2Crypto/PGP/PublicKeyRing.pyt saveG s ( t __name__t __module__R R R R# R% R'