kpilot
KeyringHHDataProxy Class Reference
#include <keyringhhdataproxy.h>

Detailed Description
Definition at line 35 of file keyringhhdataproxy.h.
Public Member Functions | |
| virtual bool | createDataStore () |
| virtual HHRecord * | createHHRecord (PilotRecord *rec) |
| KeyringHHDataProxy (const QString &dbPath) | |
| KeyringHHDataProxy (PilotDatabase *db) | |
| bool | openDatabase (const QString &pass) |
| virtual | ~KeyringHHDataProxy () |
Protected Member Functions | |
| virtual PilotAppInfoBase * | readAppInfo () |
Protected Attributes | |
| QString | fDesKey |
| bool | fOwner |
| QString | fSaltedHash |
| PilotRecord * | fZeroRecord |
Static Protected Attributes | |
| static const int | MD5_CBLOCK = 64 |
| static const int | MD5_DIGEST_LENGTH = 16 |
| static const int | SALT_SIZE = 4 |
Constructor & Destructor Documentation
| KeyringHHDataProxy::KeyringHHDataProxy | ( | PilotDatabase * | db | ) |
| KeyringHHDataProxy::KeyringHHDataProxy | ( | const QString & | dbPath | ) |
Creates a new keyring data proxy and tries to open a database file at dbPath.
Definition at line 56 of file keyringhhdataproxy.cc.
| KeyringHHDataProxy::~KeyringHHDataProxy | ( | ) | [virtual] |
Definition at line 75 of file keyringhhdataproxy.cc.
Member Function Documentation
| bool KeyringHHDataProxy::createDataStore | ( | ) | [virtual] |
Tries to create a new Datastore and returns whether or not it succeeded.
Implements DataProxy.
Definition at line 169 of file keyringhhdataproxy.cc.
| HHRecord * KeyringHHDataProxy::createHHRecord | ( | PilotRecord * | rec | ) | [virtual] |
This function creates a (subclass of) HHRecord for rec.
Implements HHDataProxy.
Definition at line 162 of file keyringhhdataproxy.cc.
| bool KeyringHHDataProxy::openDatabase | ( | const QString & | pass | ) |
Tries to read the database with given password (which is used to {en/de}crypt the database).
Returns false if the password is incorrect. If the password is correct, all records will be loaded from the database.
Definition at line 89 of file keyringhhdataproxy.cc.
| PilotAppInfoBase * KeyringHHDataProxy::readAppInfo | ( | ) | [protected, virtual] |
These functions must be implemented by the subclassing conduit.
Implementing classes read the appinfo block and return a pointer so that category information can be read and altered.
Implements HHDataProxy.
Definition at line 269 of file keyringhhdataproxy.cc.
Member Data Documentation
QString KeyringHHDataProxy::fDesKey [protected] |
Definition at line 78 of file keyringhhdataproxy.h.
bool KeyringHHDataProxy::fOwner [protected] |
Definition at line 80 of file keyringhhdataproxy.h.
QString KeyringHHDataProxy::fSaltedHash [protected] |
Definition at line 79 of file keyringhhdataproxy.h.
PilotRecord* KeyringHHDataProxy::fZeroRecord [protected] |
Definition at line 77 of file keyringhhdataproxy.h.
const int KeyringHHDataProxy::MD5_CBLOCK = 64 [static, protected] |
Definition at line 67 of file keyringhhdataproxy.h.
const int KeyringHHDataProxy::MD5_DIGEST_LENGTH = 16 [static, protected] |
Definition at line 66 of file keyringhhdataproxy.h.
const int KeyringHHDataProxy::SALT_SIZE = 4 [static, protected] |
Definition at line 68 of file keyringhhdataproxy.h.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference