WAC::SecureStorageClient Class Reference

#include <mw/wac/wacsecurestorageclient.h>

Link against: wacSecureStorage.lib

class WAC::SecureStorageClient : public WAC::SecureStorage, public WAC::SecureStorage
Protected Attributes
ServiceFwIPC *m_IPCClient
Public Member Functions
SecureStorageClient(const QString &, Storage::visibility, Storage::protection, QObject *)
virtual ~SecureStorageClient()
Protected Member Functions
virtual SecureStorageMetadata *getMetadata(const QString &)
virtual voidinitStorage()
virtual voidremoveMetadata(const QString &)
virtual voidsaveFileList()
virtual voidsaveMetadata(const SecureStorageMetadata &)
virtual QHash< QString, QString >updateFileList()
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::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::decryptData(const QByteArray &)
WAC::SecureStorage::encryptData(const QByteArray &)
WAC::SecureStorage::getFile(const QString &)
WAC::SecureStorage::getFileList()const
WAC::SecureStorage::getOwner()const
WAC::SecureStorage::remove(const QFile &)
WAC::SecureStorage::updateMetadataInfo(const QString &,const QByteArray &)
WAC::SecureStorage::verify(const QFile &)const
WAC::SecureStorage::~SecureStorage()
WAC::Storage::Storage(const QString &,QObject *)
WAC::Storage::createInstance(const QString &,WAC::Storage::visibility,WAC::Storage::protection,QObject *)
WAC::Storage::storageName()const
WAC::Storage::~Storage()

Detailed Description

This class is the client interface to secure storage

Member Attribute Documentation

m_IPCClient

ServiceFwIPC *m_IPCClient[protected]

Constructor & Destructor Documentation

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

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

Constructor with initialization ID

Parameters
aParent- QObject parent

~SecureStorageClient ( )

~SecureStorageClient()[virtual]

Destructor

Member Function Documentation

getMetadata ( const QString & )

SecureStorageMetadata *getMetadata(const QString &aFileName)const [protected, virtual]

From SecureStorage Gets the metadata for the given file

Parameters
aFileName- File to retrieve metadata for

initStorage ( )

voidinitStorage()[protected, virtual]

removeMetadata ( const QString & )

voidremoveMetadata(const QString &aFileName)[protected, virtual]

From SecureStorage Removes the metadata from storage

Parameters
aFileName- File to remove the metadata for.

saveFileList ( )

voidsaveFileList()[protected, virtual]

From SecureStorage Saves the current file list

saveMetadata ( const SecureStorageMetadata & )

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

From SecureStorage Saves the given metadata

Parameters
aMetadata- metadata to be saved

updateFileList ( )

QHash< QString, QString >updateFileList()const [protected, virtual]

From SecureStorage Updates the current file list