WAC::SecureStorageClientSymbian Class Reference

#include <mw/wac/wacsecurestorageclientsymbian.h>

class WAC::SecureStorageClientSymbian : public WAC::SecureStorageClient, public WAC::SecureStorageClient
Protected Attributes
QHash< QString, QByteArray >m_keys
Public Member Functions
SecureStorageClientSymbian(const QString &, Storage::visibility, Storage::protection, QObject *)
~SecureStorageClientSymbian()
Storage *createInstance(const QString &, WAC::Storage::visibility, WAC::Storage::protection, QObject *)
virtual QIODevice *getFile(const QString &)
virtual boolverify(const QFile &)
Protected Member Functions
virtual QIODevice *decryptData(const QByteArray &)
QIODevice *doDecryptDataL(const QByteArray &)
QByteArray doEncryptDataL(const QByteArray &)
virtual QByteArray encryptData(const QByteArray &)
QIODevice *getFileFromServerL(const QString &, bool)
virtual QString getOwner()
virtual voidsaveMetadata(const SecureStorageMetadata &)
Inherited Attributes
QObject::d_ptr
QObject::objectName
QObject::staticQtMetaObject
WAC::SecureStorage::m_currentFile
WAC::SecureStorage::m_fileList
WAC::SecureStorage::m_protection
WAC::SecureStorage::m_visibility
WAC::SecureStorageClient::m_IPCClient
WAC::Storage::m_storageName
Inherited Enumerations
WAC::Storage:protection
WAC::Storage:visibility
Inherited Functions
QObject::QObject(QObjectPrivate &,QObject *)
QObject::blockSignals(bool)
QObject::childEvent(QChildEvent *)
QObject::children()const
QObject::connect(const QObject *,const QMetaMethod &,const QObject *,const QMetaMethod &,Qt::ConnectionType)
QObject::connect(const QObject *,const char *,const QObject *,const char *,Qt::ConnectionType)
QObject::connect(const QObject *,const char *,const char *,Qt::ConnectionType)const
QObject::connectNotify(const char *)
QObject::customEvent(QEvent *)
QObject::deleteLater
QObject::destroyed
QObject::disconnect(const QObject *,const QMetaMethod &,const QObject *,const QMetaMethod &)
QObject::disconnect(const QObject *,const char *)
QObject::disconnect(const QObject *,const char *,const QObject *,const char *)
QObject::disconnect(const char *,const QObject *,const char *)
QObject::disconnectNotify(const char *)
QObject::dumpObjectInfo()
QObject::dumpObjectTree()
QObject::dynamicPropertyNames()const
QObject::event(QEvent *)
QObject::eventFilter(QObject *,QEvent *)
QObject::findChild(const QString &)const
QObject::findChildren(const QRegExp &)const
QObject::findChildren(const QString &)const
QObject::inherits(const char *)const
QObject::installEventFilter(QObject *)
QObject::isWidgetType()const
QObject::killTimer(int)
QObject::moveToThread(QThread *)
QObject::objectName()const
QObject::parent()const
QObject::property(const char *)const
QObject::receivers(const char *)const
QObject::registerUserData()
QObject::removeEventFilter(QObject *)
QObject::sender()const
QObject::senderSignalIndex()const
QObject::setObjectName(const QString &)
QObject::setParent(QObject *)
QObject::setProperty(const char *,const QVariant &)
QObject::setUserData(uint,QObjectUserData *)
QObject::signalsBlocked()const
QObject::startTimer(int)
QObject::thread()const
QObject::timerEvent(QTimerEvent *)
QObject::userData(uint)const
QObject::~QObject()
WAC::SecureStorage::SecureStorage(const QString &,Storage::visibility,Storage::protection,QObject *)
WAC::SecureStorage::add(const QFile &)
WAC::SecureStorage::add(const QString &,const QBuffer &)
WAC::SecureStorage::count()const
WAC::SecureStorage::createHash(const QByteArray &)const
WAC::SecureStorage::getFileList()const
WAC::SecureStorage::remove(const QFile &)
WAC::SecureStorage::updateMetadataInfo(const QString &,const QByteArray &)
WAC::SecureStorage::~SecureStorage()
WAC::SecureStorageClient::SecureStorageClient(const QString &,Storage::visibility,Storage::protection,QObject *)
WAC::SecureStorageClient::getMetadata(const QString &)const
WAC::SecureStorageClient::initStorage()
WAC::SecureStorageClient::removeMetadata(const QString &)
WAC::SecureStorageClient::saveFileList()
WAC::SecureStorageClient::updateFileList()const
WAC::SecureStorageClient::~SecureStorageClient()
WAC::Storage::Storage(const QString &,QObject *)
WAC::Storage::storageName()const
WAC::Storage::~Storage()

Detailed Description

This class has the symbian specific functionality of SecureStorageClient

Member Attribute Documentation

m_keys

QHash< QString, QByteArray >m_keys[protected]

Constructor & Destructor Documentation

SecureStorageClientSymbian ( const QString &, Storage::visibility, Storage::protection, QObject * )

SecureStorageClientSymbian(const QString &aStorageName,
Storage::visibility = vis_shared,
Storage::protection = prot_signed,
QObject *aParent = 0
)

Constructor with initialization ID

Parameters
aParent- QObject parent

~SecureStorageClientSymbian ( )

~SecureStorageClientSymbian()

Destructor

Member Function Documentation

createInstance ( const QString &, WAC::Storage::visibility, WAC::Storage::protection, QObject * )

Storage *createInstance(const QString &aStorageName,
WAC::Storage::visibility = vis_shared,
WAC::Storage::protection = prot_signed,
QObject *aParent = 0
)[static]

Factory method for creating new instance of WAC::Storage class.

decryptData ( const QByteArray & )

QIODevice *decryptData(const QByteArray &aData)[protected, virtual]

From SecureStorage Decryptes a file

Parameters
aData- Data to be decrypted
Return Value
QIODevice for decrypted data

doDecryptDataL ( const QByteArray & )

QIODevice *doDecryptDataL(const QByteArray &aData)const [protected]

doEncryptDataL ( const QByteArray & )

QByteArray doEncryptDataL(const QByteArray &aData)[protected]

encryptData ( const QByteArray & )

QByteArray encryptData(const QByteArray &aData)[protected, virtual]

From SecureStorage Encrypt data

Parameters
aData- Data to be encrypted
Return Value
Encrypted data

getFile ( const QString & )

QIODevice *getFile(const QString &aPathFile)[virtual]

getFileFromServerL ( const QString &, bool )

QIODevice *getFileFromServerL(const QString &aPathFile,
boolaDecrypt = TRUE
)const [protected]

getOwner ( )

QString getOwner()const [protected, virtual]

From SecureStorage Gets the owner and returns the string representation In Symbian the owner is the process ID

Return Value
Current owner represented by a string

saveMetadata ( const SecureStorageMetadata & )

voidsaveMetadata(const SecureStorageMetadata &aMetadata)[protected, virtual]

From SecureStorage Saves the given metadata

Parameters
aMetadata- metadata to be saved

verify ( const QFile & )

boolverify(const QFile &aFile)const [virtual]

From Storage

See also: Storage::verify(const QFile &aFile);