6 #ifndef QXMPPENCRYPTEDFILESOURCE_H 7 #define QXMPPENCRYPTEDFILESOURCE_H 9 #include "QXmppGlobal.h" 10 #include "QXmppHash.h" 11 #include "QXmppHttpFileSource.h" 13 #include <QSharedDataPointer> 17 class QXmppEncryptedFileSourcePrivate;
29 const QByteArray &key()
const;
30 void setKey(
const QByteArray &newKey);
32 const QByteArray &iv()
const;
33 void setIv(
const QByteArray &newIv);
35 const QVector<QXmppHash> &hashes()
const;
36 void setHashes(
const QVector<QXmppHash> &newHashes);
38 const QVector<QXmppHttpFileSource> &httpSources()
const;
39 void setHttpSources(
const QVector<QXmppHttpFileSource> &newHttpSources);
42 bool parse(
const QDomElement &el);
43 void toXml(QXmlStreamWriter *writer)
const;
47 QSharedDataPointer<QXmppEncryptedFileSourcePrivate> d;
50 #endif // QXMPPENCRYPTEDFILESOURCE_H Cipher
Definition: QXmppGlobal.h:160
Represents an encrypted file source for file sharing.
Definition: QXmppEncryptedFileSource.h:20