| Home | Trees | Index | Help | 
|---|
| Package tlslite :: Package utils :: Module PyCrypto_RSAKey :: Class PyCrypto_RSAKey | 
 | 
RSAKey --+
         |
        PyCrypto_RSAKey
| Method Summary | |
|---|---|
| Create a new RSA key. | |
| __getattr__(self,
          name) | |
| generate(bits)(Static method) | |
| str | Return the cryptoID <keyHash> value corresponding to this key. | 
| bool | Return whether or not this key has a private component. | 
| str | Return a string containing the key. | 
| _rawPrivateKeyOp(self,
          m) | |
| _rawPublicKeyOp(self,
          c) | |
| Inherited from RSAKey | |
| int | Return the length of this key in bits. | 
| bool | Return True if the write() method accepts a password for use in encrypting the private key. | 
| array.arrayof unsigned bytes or None. | Decrypt the passed-in bytes. | 
| array.arrayof unsigned bytes. | Encrypt the passed-in bytes. | 
| str | Return the cryptoID sigAlgo value corresponding to this key. | 
| array.arrayof unsigned bytes. | Hash and sign the passed-in bytes. | 
| bool | Hash and verify the passed-in bytes with the signature. | 
| array.arrayof unsigned bytes. | Sign the passed-in bytes. | 
| bool | Verify the passed-in bytes with the signature. | 
| str | Return a string containing the key. | 
|  | |
|  | |
| Instance Method Details | 
|---|
| __init__(self,
          n=0,
          e=0,
          d=0,
          p=0,
          q=0,
          dP=0,
          dQ=0,
          qInv=0)
     | 
| hash(self)Return the cryptoID <keyHash> value corresponding to this key.
 | 
| hasPrivateKey(self)Return whether or not this key has a private component.
 | 
| writeXMLPublicKey(self, indent='')Return a string containing the key.
 | 
| Home | Trees | Index | Help | 
|---|
| Generated by Epydoc 2.0 on Mon Feb 21 21:56:55 2005 | http://epydoc.sf.net |