#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 bool | verify(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 void | saveMetadata(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() |
This class has the symbian specific functionality of SecureStorageClient
QHash< QString, QByteArray > | m_keys | [protected] |
SecureStorageClientSymbian | ( | const QString & | aStorageName, |
Storage::visibility | = vis_shared, | ||
Storage::protection | = prot_signed, | ||
QObject * | aParent = 0 | ||
) |
Constructor with initialization ID
Parameters | |
---|---|
aParent | - QObject parent |
Storage * | createInstance | ( | const QString & | aStorageName, |
WAC::Storage::visibility | = vis_shared, | |||
WAC::Storage::protection | = prot_signed, | |||
QObject * | aParent = 0 | |||
) | [static] |
Reimplemented from WAC::Storage::createInstance(const QString &,WAC::Storage::visibility,WAC::Storage::protection,QObject *)
Factory method for creating new instance of WAC::Storage class.
QIODevice * | decryptData | ( | const QByteArray & | aData | ) | [protected, virtual] |
Reimplemented from WAC::SecureStorage::decryptData(const QByteArray &)
From SecureStorage Decryptes a file
Parameters | |
---|---|
aData | - Data to be decrypted |
QIODevice * | doDecryptDataL | ( | const QByteArray & | aData | ) | const [protected] |
QByteArray | doEncryptDataL | ( | const QByteArray & | aData | ) | [protected] |
QByteArray | encryptData | ( | const QByteArray & | aData | ) | [protected, virtual] |
Reimplemented from WAC::SecureStorage::encryptData(const QByteArray &)
From SecureStorage Encrypt data
Parameters | |
---|---|
aData | - Data to be encrypted |
QIODevice * | getFile | ( | const QString & | aPathFile | ) | [virtual] |
Reimplemented from WAC::SecureStorage::getFile(const QString &)
From Storage
See also: Storage::getFile(const QString &aPathFile);
QIODevice * | getFileFromServerL | ( | const QString & | aPathFile, |
bool | aDecrypt = TRUE | |||
) | const [protected] |
QString | getOwner | ( | ) | const [protected, virtual] |
Reimplemented from WAC::SecureStorage::getOwner()const
From SecureStorage Gets the owner and returns the string representation In Symbian the owner is the process ID
void | saveMetadata | ( | const SecureStorageMetadata & | aMetadata | ) | [protected, virtual] |
Reimplemented from WAC::SecureStorageClient::saveMetadata(const SecureStorageMetadata &)
From SecureStorage Saves the given metadata
Parameters | |
---|---|
aMetadata | - metadata to be saved |
bool | verify | ( | const QFile & | aFile | ) | const [virtual] |
Reimplemented from WAC::SecureStorage::verify(const QFile &)const
From Storage
See also: Storage::verify(const QFile &aFile);