Package keyczar :: Module keys :: Class SymmetricKey
[hide private]
[frames] | no frames]

Class SymmetricKey

source code

object --+    
         |    
       Key --+
             |
            SymmetricKey
Known Subclasses:

Parent class for symmetric keys such as AES, HMAC-SHA1

Instance Methods [hide private]
 
__init__(self, type, key_string)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_GetKeyString(self)
Return the key as a string.
source code

Inherited from Key: Header

Inherited from Key (private): _Hash

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from Key: hash, key_bytes, key_string, size

Inherited from object: __class__

Method Details [hide private]

__init__(self, type, key_string)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

_GetKeyString(self)

source code 

Return the key as a string.

Overrides: Key._GetKeyString