ok

Mini Shell

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

�

�1Mc@s=dZddlTddlTddlZddd��YZdS(sLM2Crypto PGP2.

Copyright (c) 1999-2003 Ng Pheng Siong. All rights reserved.i����(t*Nt	PublicKeycBskeZd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�ZRS(cCsYddl}|jdt�||_tj|j|jf�|_i|_	i|_
dS(Ni����sVDeprecated. No maintainer for PGP. If you use this, please inform M2Crypto maintainer.(twarningstwarntDeprecationWarningt_pubkey_pkttRSAtnew_pub_keyt_et_nt_pubkeyt_useridt
_signature(tselft
pubkey_pktR((s</usr/lib64/python2.7/site-packages/M2Crypto/PGP/PublicKey.pyt__init__
s		cCs|jjdS(Ni����(R
tn(R
((s</usr/lib64/python2.7/site-packages/M2Crypto/PGP/PublicKey.pytkeyidscCs,t|t�st�||j|j�<dS(N(t
isinstancet
userid_packettAssertionErrorRtuserid(R
tu_pkt((s</usr/lib64/python2.7/site-packages/M2Crypto/PGP/PublicKey.pyt
add_useridscCs|j|=dS(N(R(R
R((s</usr/lib64/python2.7/site-packages/M2Crypto/PGP/PublicKey.pyt
remove_useridscCsbt|t�st�|jj|�s-t�|jj|�rR|jj|�n|g|_dS(N(Rtsignature_packetRRthas_keyRtappend(R
Rts_pkt((s</usr/lib64/python2.7/site-packages/M2Crypto/PGP/PublicKey.pyt
add_signatures
cCs|j|S(N(R(R
tid((s</usr/lib64/python2.7/site-packages/M2Crypto/PGP/PublicKey.pyt__getitem__%scGs
t�dS(N(tNotImplementedError(R
targs((s</usr/lib64/python2.7/site-packages/M2Crypto/PGP/PublicKey.pyt__setitem__(scCs(|j|=|j|r$|j|=ndS(N(RR(R
R((s</usr/lib64/python2.7/site-packages/M2Crypto/PGP/PublicKey.pyt__delitem__+s

cCsdS(N((R
tstream((s</usr/lib64/python2.7/site-packages/M2Crypto/PGP/PublicKey.pytwrite0scCs|jj|tj�S(N(R
tpublic_encryptRt
pkcs1_padding(R
tptxt((s</usr/lib64/python2.7/site-packages/M2Crypto/PGP/PublicKey.pytencrypt3scCs|jj|tj�S(N(R
R&RR'(R
tctxt((s</usr/lib64/python2.7/site-packages/M2Crypto/PGP/PublicKey.pytdecrypt7s(
t__name__t
__module__RRRRRRR"R#R%R)R+(((s</usr/lib64/python2.7/site-packages/M2Crypto/PGP/PublicKey.pyR	s											((t__doc__t	constantstpacketRR(((s</usr/lib64/python2.7/site-packages/M2Crypto/PGP/PublicKey.pyt<module>s



Zerion Mini Shell 1.0