Home | Trees | Indices | Help |
|
---|
|
pubkey.pubkey --+ | _RSAobj
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Class Variables | |
keydata =
Dictionary of RSA parameters. |
Method Details |
|
Attention: this function performs the plain, primitive RSA encryption (textbook). In real applications, you always need to use proper cryptographic padding, and you should not directly encrypt data with this method. Failure to do so may lead to security vulnerabilities. It is recommended to use modules Crypto.Cipher.PKCS1_OAEP or Crypto.Cipher.PKCS1_v1_5 instead. |
Decrypt a piece of data with RSA. Decryption always takes place with blinding.
Attention: this function performs the plain, primitive RSA decryption (textbook). In real applications, you always need to use proper cryptographic padding, and you should not directly decrypt data with this method. Failure to do so may lead to security vulnerabilities. It is recommended to use modules Crypto.Cipher.PKCS1_OAEP or Crypto.Cipher.PKCS1_v1_5 instead. |
Sign a piece of data with RSA. Signing always takes place with blinding.
Attention: this function performs the plain, primitive RSA decryption (textbook). In real applications, you always need to use proper cryptographic padding, and you should not directly sign data with this method. Failure to do so may lead to security vulnerabilities. It is recommended to use modules Crypto.Signature.PKCS1_PSS or Crypto.Signature.PKCS1_v1_5 instead. |
Attention: this function performs the plain, primitive RSA encryption (textbook). In real applications, you always need to use proper cryptographic padding, and you should not directly verify data with this method. Failure to do so may lead to security vulnerabilities. It is recommended to use modules Crypto.Signature.PKCS1_PSS or Crypto.Signature.PKCS1_v1_5 instead. |
|
|
Tell 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.
|
Tell 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.
|
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.
|
|
Export this RSA key.
|
Class Variable Details |
keydataDictionary of RSA parameters. A public key will only have the following entries:
A private key will also have:
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu May 24 09:02:37 2012 | http://epydoc.sourceforge.net |