Back to index

plone3  3.1.7
Public Member Functions | Private Member Functions
plone.keyring.keymanager.KeyManager Class Reference
Inheritance diagram for plone.keyring.keymanager.KeyManager:
Inheritance graph
[legend]
Collaboration diagram for plone.keyring.keymanager.KeyManager:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def clear
def rotate
def secret

Private Member Functions

def _newContainerData

Detailed Description

Definition at line 7 of file keymanager.py.


Constructor & Destructor Documentation

Definition at line 10 of file keymanager.py.

00010 
00011     def __init__(self):
00012         SampleContainer.__init__(self)
00013         self[u"_system"]=Keyring()
00014         self[u"_system"].rotate()
00015 

Here is the call graph for this function:

Here is the caller graph for this function:


Member Function Documentation

Definition at line 16 of file keymanager.py.

00016 
00017     def _newContainerData(self):
00018         return PersistentMapping()
00019 

def plone.keyring.keymanager.KeyManager.clear (   self,
  ring = u"_system" 
)

Definition at line 20 of file keymanager.py.

00020 
00021     def clear(self, ring=u"_system"):
00022         if ring is None:
00023             for ring in self.values():
00024                 ring.clear()
00025         else:
00026             self[ring].clear()
00027 

Here is the call graph for this function:

Here is the caller graph for this function:

def plone.keyring.keymanager.KeyManager.rotate (   self,
  ring = u"_system" 
)

Definition at line 28 of file keymanager.py.

00028 
00029     def rotate(self, ring=u"_system"):
00030         if ring is None:
00031             for ring in self.values():
00032                 ring.rotate()
00033         else:
00034             self[ring].rotate()
00035 

Here is the call graph for this function:

Here is the caller graph for this function:

def plone.keyring.keymanager.KeyManager.secret (   self,
  ring = u"_system" 
)

Definition at line 36 of file keymanager.py.

00036 
00037     def secret(self, ring=u"_system"):
00038         return self[ring].current
00039 

The documentation for this class was generated from the following file: