Trees | Index | Help |
---|
Package yawPyCrypto ::
Module AdvKey ::
Class SecureKey |
|
object
--+ |IFlatten
--+ |object
--+ | | |AlgoDefinitions
--+ |Key
--+ | SecureKey
Method Summary | |
---|---|
Create a new key. (inherited from Key )
| |
Compares two keys. (inherited from Key )
| |
Deletes the specified key argument from this key. (inherited from Key )
| |
Loads the key attribute name from the current key object, and unserializes it. (inherited from Key )
| |
Returns a hash value of a key instance. (inherited from Key )
| |
Return an iterator over all names of key arguments. (inherited from Key )
| |
a new object with type S, a subtype of T |
|
Sets the passed in keyword argument called name to the value that is passed in along. (inherited from Key )
| |
Returns a boolean whether this key can decrypt data. (inherited from Key )
| |
Returns a boolean whether this key can encrypt data. (inherited from Key )
| |
Returns a boolean whether this key can sign data. (inherited from Key )
| |
Returns a boolean whether this key can verify signed data. (inherited from Key )
| |
Returns the maximum string length of data which can be encrypted or signed. (inherited from Key )
| |
Decrypt string data as passed in using data. (inherited from Key )
| |
Encrypt string data as passed in using data. (inherited from Key )
| |
Checks whether this key has a private key part. (inherited from Key )
| |
Checks whether this key has a public key part. (inherited from Key )
| |
Returns the key's keysize in bits. (inherited from Key )
| |
Returns a new key object which contains only the public key associated with the current key, and only public key arguments. (inherited from Key )
| |
Create a new signature for the data that is passed in. (inherited from Key )
| |
Stores a key to a string of bytes. (inherited from Key )
| |
Stores only the public key of this key to a string of bytes. (inherited from Key )
| |
Dictionary style updating for a Key instance. (inherited from Key )
| |
Verify the signature of the passed in string. (inherited from Key )
| |
_IFlatten__serialize(self,
*args,
**kwargs)
(inherited from IFlatten )
| |
_IFlatten__unserialize(self,
*args,
**kwargs)
(inherited from IFlatten )
| |
Function which is called to check whether the current key argument should be treated as a private key argument (and as such is stored only on a call to storeKey()). (inherited from Key )
| |
Function used to create a new key for this Key object. (inherited from Key )
| |
Decrypt the passed in PyCrypto output of encryption, and return the decrypted string. (inherited from Key )
| |
Encrypt data as passed in, and return the PyCrypto output of the encrypted data. (inherited from Key )
| |
Function used to get an encryption prime as required by the El Gamal public key encryption algorithm. (inherited from Key )
| |
Returns the yawPyCrypto ID of the current key object. (inherited from Key )
| |
Function called by the Flatten serialization library to serialize a key instance. (inherited from Key )
| |
Function that returns a PyCrypto signature for the data that is passed in. (inherited from Key )
| |
Function called by the Flatten serialization library to unserialize a key instance from the dictionary passed in as serstate. (inherited from Key )
| |
Function that verifies a PyCrypto signature for the data that is passed in. (inherited from Key )
| |
Unwrapping function for unwrapping private key data with an encryption using the cipher Blowfish (normally). | |
Wrapping function for wrapping private key data with an encryption using the cipher Blowfish. |
Class Variable Summary | |
---|---|
list |
_unwrappers
|
list |
_wrappers
|
Method Details |
---|
__new__(S, ...)
|
_secureUnwrap(selfcls, data, datatype, password=None, *args, **kwargs)Unwrapping function for unwrapping private key data with an encryption using the cipher Blowfish (normally). The password which is used to unwrap the data is passed as the keyword argument password. The password is first hashed (normally using HASH_SHA), then a Blowfish cipher is created, and the object is decrypted. Blowfish is considered as a strong block cipher; in case you wish to use a different cipher, please derive your own key class from this object. |
_secureWrap(selfcls, data, datatype, password=None, *args, **kwargs)Wrapping function for wrapping private key data with an encryption using the cipher Blowfish. The password which is used to wrap the data is passed as the keyword argument password. The password is first hashed (normally using HASH_SHA), then a Blowfish cipher is created and the object is encrypted. Blowfish is considered as a strong block cipher; in case you wish to use a different cipher, please derive your own key class from this object. |
Class Variable Details |
---|
_unwrappers
|
_wrappers
|
Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Sun Aug 17 03:32:33 2003 | http://epydoc.sf.net |