| Home | Trees | Index | Help |
|---|
| Package tlslite :: Package utils :: Module OpenSSL_RSAKey :: Class OpenSSL_RSAKey |
|
RSAKey --+
|
OpenSSL_RSAKey
| Method Summary | |
|---|---|
Create a new RSA key. | |
__del__(self)
| |
__getattr__(self,
name)
| |
| bool |
Return True if the write() method accepts a password for use in encrypting the private key. |
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. |
parse(s,
passwordCallback)
(Static method) | |
| str |
Return a string containing the key. |
| 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. |
array.array of unsigned bytes or None.
|
Decrypt the passed-in bytes. |
array.array of unsigned bytes.
|
Encrypt the passed-in bytes. |
| str |
Return the cryptoID sigAlgo value corresponding to this key. |
array.array of unsigned bytes.
|
Hash and sign the passed-in bytes. |
| bool |
Hash and verify the passed-in bytes with the signature. |
array.array of unsigned bytes.
|
Sign the passed-in bytes. |
| bool |
Verify the passed-in bytes with the signature. |
| |
| |
| Instance Method Details |
|---|
__init__(self,
n=0,
e=0)
|
acceptsPassword(self)Return True if the write() method accepts a password for use in encrypting the private key.
|
hash(self)Return the cryptoID <keyHash> value corresponding to this key.
|
hasPrivateKey(self)Return whether or not this key has a private component.
|
write(self, password=None)Return a string containing the key.
|
writeXMLPublicKey(self, indent='')Return a string containing the key.
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.0 on Mon Feb 21 21:56:56 2005 | http://epydoc.sf.net |