Back to index

plone3  3.1.7
Public Member Functions
plone.keyring.keyring.Keyring Class Reference
Inheritance diagram for plone.keyring.keyring.Keyring:
Inheritance graph
[legend]
Collaboration diagram for plone.keyring.keyring.Keyring:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def __iter__
def clear
def rotate
def current

Detailed Description

Definition at line 15 of file keyring.py.


Constructor & Destructor Documentation

def plone.keyring.keyring.Keyring.__init__ (   self,
  size = 5 
)

Definition at line 18 of file keyring.py.

00018 
00019     def __init__(self, size=5):
00020         PersistentList.__init__(self)
00021         for i in range(size):
00022             self.append(None)

Here is the call graph for this function:

Here is the caller graph for this function:


Member Function Documentation

Definition at line 23 of file keyring.py.

00023 
00024     def __iter__(self):
00025         for item in self.data:
00026             yield item

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 27 of file keyring.py.

00027 
00028     def clear(self):
00029         for i in range(len(self)):
00030             self[i]=None

Here is the caller graph for this function:

Definition at line 36 of file keyring.py.

00036 
00037     def current(self):
00038         return self.data[0]
00039 
00040 
00041 
00042 
00043 

Here is the call graph for this function:

Definition at line 31 of file keyring.py.

00031 
00032     def rotate(self):
00033         self.pop()
00034         self.insert(0, GenerateSecret())

Here is the call graph for this function:


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