Package yawPyCrypto :: Module AdvKey :: Class SecureAsciiKey
[show private | hide private]
[frames | no frames]

Class SecureAsciiKey

     object --+        
              |        
       IFlatten --+    
                  |    
     object --+   |    
              |   |    
AlgoDefinitions --+    
                  |    
                Key --+
                      |
                     SecureAsciiKey


SecureAsciiKey is a Key derived class which offers both ascii-armoring and also encryption of private key data in a single key class. For more information on this class, please read both the AsciiKey and SecureKey classes' documentation.
Method Summary
  __init__(self, keysize, algo_pub, **kwargs)
Create a new key. (inherited from Key)
  __cmp__(self, other)
Compares two keys. (inherited from Key)
  __delitem__(self, name)
Deletes the specified key argument from this key. (inherited from Key)
  __getitem__(self, name)
Loads the key attribute name from the current key object, and unserializes it. (inherited from Key)
  __hash__(self)
Returns a hash value of a key instance. (inherited from Key)
  __iter__(self)
Return an iterator over all names of key arguments. (inherited from Key)
a new object with type S, a subtype of T __new__(S, ...)
  __setitem__(self, name, value)
Sets the passed in keyword argument called name to the value that is passed in along. (inherited from Key)
  canDecrypt(self)
Returns a boolean whether this key can decrypt data. (inherited from Key)
  canEncrypt(self)
Returns a boolean whether this key can encrypt data. (inherited from Key)
  canSign(self)
Returns a boolean whether this key can sign data. (inherited from Key)
  canVerify(self)
Returns a boolean whether this key can verify signed data. (inherited from Key)
  cryptSize(self)
Returns the maximum string length of data which can be encrypted or signed. (inherited from Key)
  decrypt(self, encdata, wrap, *args, **kwargs)
Decrypt string data as passed in using data. (inherited from Key)
  encrypt(self, data, wrap, *args, **kwargs)
Encrypt string data as passed in using data. (inherited from Key)
  hasPrivate(self)
Checks whether this key has a private key part. (inherited from Key)
  hasPublic(self)
Checks whether this key has a public key part. (inherited from Key)
  keySize(self)
Returns the key's keysize in bits. (inherited from Key)
  publicKey(self)
Returns a new key object which contains only the public key associated with the current key, and only public key arguments. (inherited from Key)
  sign(self, data, hash_algo, wrap, *args, **kwargs)
Create a new signature for the data that is passed in. (inherited from Key)
  storeKey(self, wrap, *args, **kwargs)
Stores a key to a string of bytes. (inherited from Key)
  storePublicKey(self, wrap, *args, **kwargs)
Stores only the public key of this key to a string of bytes. (inherited from Key)
  update(self, args)
Dictionary style updating for a Key instance. (inherited from Key)
  verify(self, data, signature, wrap, *args, **kwargs)
Verify the signature of the passed in string. (inherited from Key)

Method Details

__new__(S, ...)

Returns:
a new object with type S, a subtype of T

Generated by Epydoc 1.1 on Sun Aug 17 03:32:31 2003 http://epydoc.sf.net