Package keyczar :: Module readers :: Class Reader
[hide private]
[frames] | no frames]

Class Reader

source code

object --+
         |
        Reader
Known Subclasses:

Interface providing supported methods (no implementation).

Instance Methods [hide private]
string
GetMetadata(self)
Return the KeyMetadata for the key set being read.
source code
string
GetKey(self, version_number)
Return the key corresponding to the given version.
source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

GetMetadata(self)

source code 

Return the KeyMetadata for the key set being read.

Returns: string
JSON string representation of KeyMetadata object
Raises:

GetKey(self, version_number)

source code 

Return the key corresponding to the given version.

Parameters:
  • version_number (integer) - the version number of the desired key
Returns: string
JSON string representation of a Key object
Raises: