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

Class PrivateKey

source code

object --+        
         |        
       Key --+    
             |    
 AsymmetricKey --+
                 |
                PrivateKey
Known Subclasses:

Represents private keys in Keyczar for asymmetric key pairs.

Instance Methods [hide private]
 
__init__(self, type, params, pkcs8, pub)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__str__(self)
str(x)
source code
 
_GetKeyString(self)
Return the key as a string.
source code
 
_Hash(self)
Compute and return the hash id of this key.
source code

Inherited from Key: Header

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

Properties [hide private]

Inherited from Key: hash, key_bytes, key_string, size

Inherited from object: __class__

Method Details [hide private]

__init__(self, type, params, pkcs8, pub)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

_GetKeyString(self)

source code 

Return the key as a string. Abstract method.

Overrides: Key._GetKeyString
(inherited documentation)

_Hash(self)

source code 

Compute and return the hash id of this key. Can override default hash.

Overrides: Key._Hash
(inherited documentation)