/opt/alt/python27/lib64/python2.7/site-packages/Crypto/PublicKey
NameSizeModeActions
DSA.py136950644editdlrm
DSA.pyc148070644editdlrm
DSA.pyo148070644editdlrm
ElGamal.py132120644editdlrm
ElGamal.pyc133430644editdlrm
ElGamal.pyo133430644editdlrm
pubkey.py82210644editdlrm
pubkey.pyc90980644editdlrm
pubkey.pyo90980644editdlrm
RSA.py298970644editdlrm
RSA.pyc267950644editdlrm
RSA.pyo267950644editdlrm
_DSA.py34730644editdlrm
_DSA.pyc33370644editdlrm
_DSA.pyo33370644editdlrm
_fastmath.so1166670755editdlrm
_RSA.py27620644editdlrm
_RSA.pyc19750644editdlrm
_RSA.pyo18900644editdlrm
_slowmath.py64210644editdlrm
_slowmath.pyc65730644editdlrm
_slowmath.pyo61370644editdlrm
__init__.py18760644editdlrm
__init__.pyc10990644editdlrm
__init__.pyo10990644editdlrm
Edit: /opt/alt/python27/lib64/python2.7/site-packages/Crypto/PublicKey/pubkey.pyc (9098B)
/Oc@s?dZddkZddkZddkTdddYZdS(s$Id$iN(t*tpubkeycBseZdZdZdZdZdZdZdZdZ dZ d Z d Z d Z d Zd ZdZdZdZdZdZRS(sxAn abstract class for a public key object. :undocumented: __getstate__, __setstate__, __eq__, __ne__, validate cCsdS(N((tself((sJ/opt/alt/python27/lib64/python2.7/site-packages/Crypto/PublicKey/pubkey.pyt__init__&scCsI|i}x9|iD].}|i|ot||||Verify the validity of a signature. :Parameter M: The expected message. :Type M: byte string or long :Parameter signature: The signature to verify. :Type signature: tuple with two items, as return by `sign` :Return: True if the signature is correct, False otherwise. (R RRRt_verify(RR t signature((sJ/opt/alt/python27/lib64/python2.7/site-packages/Crypto/PublicKey/pubkey.pytverifyrs cCstidtdS(Ns0validate() method name is obsolete; use verify()(twarningstwarntDeprecationWarning(RR R#((sJ/opt/alt/python27/lib64/python2.7/site-packages/Crypto/PublicKey/pubkey.pytvalidates cCs~d}t|tiot|}d}nt|tiot|}n|i||}|o t|S|SdS(s&Blind a message to prevent certain side-channel attacks. :Parameter M: The message to blind. :Type M: byte string or long :Parameter B: Blinding factor. :Type B: byte string or long :Return: A byte string if M was so. A long otherwise. iiN(R RRRt_blindR(RR tBRtblindedmessage((sJ/opt/alt/python27/lib64/python2.7/site-packages/Crypto/PublicKey/pubkey.pytblinds   cCs~d}t|tiot|}d}nt|tiot|}n|i||}|o t|S|SdS(sUnblind a message after cryptographic processing. :Parameter M: The encoded message to unblind. :Type M: byte string or long :Parameter B: Blinding factor. :Type B: byte string or long iiN(R RRRt_unblindR(RR R*Rtunblindedmessage((sJ/opt/alt/python27/lib64/python2.7/site-packages/Crypto/PublicKey/pubkey.pytunblinds   cCsdS(s(Tell if the algorithm can deal with cryptographic signatures. This property concerns the *algorithm*, not the key itself. It may happen that this particular key object hasn't got the private information required to generate a signature. :Return: boolean i((R((sJ/opt/alt/python27/lib64/python2.7/site-packages/Crypto/PublicKey/pubkey.pytcan_signs cCsdS(sTell if the algorithm can deal with data encryption. This property concerns the *algorithm*, not the key itself. It may happen that this particular key object hasn't got the private information required to decrypt data. :Return: boolean i((R((sJ/opt/alt/python27/lib64/python2.7/site-packages/Crypto/PublicKey/pubkey.pyt can_encrypts cCsdS(sTell if the algorithm can deal with data blinding. This property concerns the *algorithm*, not the key itself. It may happen that this particular key object hasn't got the private information required carry out blinding. :Return: boolean i((R((sJ/opt/alt/python27/lib64/python2.7/site-packages/Crypto/PublicKey/pubkey.pyt can_blinds cCsdS(s_Tell the maximum number of bits that can be handled by this key. :Return: int i((R((sJ/opt/alt/python27/lib64/python2.7/site-packages/Crypto/PublicKey/pubkey.pytsizescCsdS(sSTell if the key object contains private components. :Return: bool i((R((sJ/opt/alt/python27/lib64/python2.7/site-packages/Crypto/PublicKey/pubkey.pyRscCs|S(skConstruct a new key carrying only the public information. :Return: A new `pubkey` object. ((R((sJ/opt/alt/python27/lib64/python2.7/site-packages/Crypto/PublicKey/pubkey.pyt publickeyscCs|i|ijS(sF__eq__(other): 0, 1 Compare us to other for equality. (R (Rtother((sJ/opt/alt/python27/lib64/python2.7/site-packages/Crypto/PublicKey/pubkey.pyt__eq__scCs|i| S(sH__ne__(other): 0, 1 Compare us to other for inequality. (R6(RR5((sJ/opt/alt/python27/lib64/python2.7/site-packages/Crypto/PublicKey/pubkey.pyt__ne__s(t__name__t __module__t__doc__RR R RRR!R$R(R,R/R0R1R2R3RR4R6R7(((sJ/opt/alt/python27/lib64/python2.7/site-packages/Crypto/PublicKey/pubkey.pyR!s&              ((t __revision__RR%tCrypto.Util.numberR(((sJ/opt/alt/python27/lib64/python2.7/site-packages/Crypto/PublicKey/pubkey.pyts