• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

kpilot

KeyringHHDataProxy Class Reference

#include <keyringhhdataproxy.h>

Inheritance diagram for KeyringHHDataProxy:

Inheritance graph
[legend]

List of all members.


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  ) 

Creates a new keyring data proxy with db.

Definition at line 43 of file keyringhhdataproxy.cc.

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:
  • keyringhhdataproxy.h
  • keyringhhdataproxy.cc

kpilot

Skip menu "kpilot"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal