| Home | Trees | Index | Help |
|
|---|
| Package g4ds :: Module securitymanager_db :: Class SecDB |
|
| Method Summary | |
|---|---|
Initialises the database manager for secure communication. | |
Adds one algorithm to the algorithm table in the database. | |
Adds one credential to the credential table in the database. | |
Adds one personal credential to the personal credential table in the database. | |
Returns a list of all algorithms in the database. | |
Returns a list of all credentials in the database. | |
Returns a list of all personal credentials in the database. | |
Removes credentials from the database. | |
Closes open database connections. | |
| Instance Variable Summary | |
|---|---|
| PSQL-DB-Connection | _connection: Reference to database connection |
| Method Details |
|---|
__init__(self)
|
addAlgorithm(self, algorithm)Adds one algorithm to the algorithm table in the database. |
addCredential(self, credential)Adds one credential to the credential table in the database. |
addPersonalCredential(self, credential)Adds one personal credential to the personal credential table in the database. |
getAlgorithms(self)Returns a list of all algorithms in the database. |
getCredentials(self)Returns a list of all credentials in the database. |
getPersonalCredentials(self)Returns a list of all personal credentials in the database. |
removeCredentials(self, credentialid=None, memberid=None)Removes credentials from the database. Depending on which parameters are given. If no parameter is set, all data in the table will be dropped. |
shutdown(self)Closes open database connections. |
| Instance Variable Details |
|---|
_connectionReference to database connection
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.0 on Sat Oct 22 22:52:46 2005 | http://epydoc.sf.net |