Package keyczar :: Module keyinfo :: Class KeyType
[hide private]
[frames] | no frames]

Class KeyType

source code

object --+    
         |    
   _NameId --+
             |
            KeyType

Encodes different key types and their properties:

Instance Methods [hide private]
 
__init__(self, name, id, sizes, output_size)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
IsValidSize(self, size) source code

Inherited from _NameId: __str__

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

Properties [hide private]
  sizes
List of valid key sizes for this key type.

Inherited from object: __class__

Method Details [hide private]

__init__(self, name, id, sizes, output_size)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

Property Details [hide private]

sizes

List of valid key sizes for this key type.

Get Method:
unreachable(self)