ok

Mini Shell

Direktori : /usr/lib64/python2.7/site-packages/M2Crypto/PGP/
Upload File :
Current File : //usr/lib64/python2.7/site-packages/M2Crypto/PGP/PublicKeyRing.pyc

�

�1Mc@sGdZddlTddlTddlTddd��YZdd�ZdS(	sLM2Crypto PGP2.

Copyright (c) 1999-2003 Ng Pheng Siong. All rights reserved.i����(t*t
PublicKeyRingcBsGeZd�Zd�Zd�Zd�Zd�Zd�Zd�ZRS(cCsMddl}|jdt�||_i|_i|_g|_g|_dS(Ni����sVDeprecated. No maintainer for PGP. If you use this, please inform M2Crypto maintainer.(twarningstwarntDeprecationWarningt_keyringt_useridt_keyidt	_spurioust_pubkey(tselftkeyringR((s@/usr/lib64/python2.7/site-packages/M2Crypto/PGP/PublicKeyRing.pyt__init__
s				cCs(d}d}t|j�}x�|j�}|dkr:Pqt|t�rr|d}t|�}|jj|�qt|t	�r�|dkr�|j
j|�q|j|�||f|j|j
�<qt|t�r|dkr�|j
j|�q|j|�q|j
j|�q|j�dS(Ni����i(tNonet
packet_streamRtreadt
isinstancetpublic_key_packett	PublicKeyR	tappendt
userid_packetRt
add_useridRtuseridtsignature_packett
add_signaturetclose(R
tcurr_pubt
curr_indextpstpkt((s@/usr/lib64/python2.7/site-packages/M2Crypto/PGP/PublicKeyRing.pytloads,

cCs|j|dS(Ni(R(R
tid((s@/usr/lib64/python2.7/site-packages/M2Crypto/PGP/PublicKeyRing.pyt__getitem__7scGs
t�dS(N(tNotImplementedError(R
targs((s@/usr/lib64/python2.7/site-packages/M2Crypto/PGP/PublicKeyRing.pyt__setitem__:scCsH|j|\}}|j|=|j|=|j|\}}|j|=dS(N(RR	R(R
RRtidx((s@/usr/lib64/python2.7/site-packages/M2Crypto/PGP/PublicKeyRing.pyt__delitem__=s


cCs
t|j�S(N(ttupleR(R
((s@/usr/lib64/python2.7/site-packages/M2Crypto/PGP/PublicKeyRing.pytspuriousDscCs1x*|jD]}|j�}|j|�q
WdS(N(R	tpacktwrite(R
Rtptpp((s@/usr/lib64/python2.7/site-packages/M2Crypto/PGP/PublicKeyRing.pytsaveGs(	t__name__t
__module__RRR R#R%R'R,(((s@/usr/lib64/python2.7/site-packages/M2Crypto/PGP/PublicKeyRing.pyR	s	
	#				spubring.pgpcCs#tt|d��}|j�|S(Ntrb(RtopenR(tfilenametpkr((s@/usr/lib64/python2.7/site-packages/M2Crypto/PGP/PublicKeyRing.pytload_pubringMs
N((t__doc__t	constantstpacketRRR3(((s@/usr/lib64/python2.7/site-packages/M2Crypto/PGP/PublicKeyRing.pyt<module>s



D

Zerion Mini Shell 1.0