diff options
| author | Linus Jahn <lnj@kaidan.im> | 2023-03-11 00:29:02 +0100 |
|---|---|---|
| committer | Linus Jahn <lnj@kaidan.im> | 2023-03-11 00:29:02 +0100 |
| commit | 463111576fb1476192acd2d8fe415b8482a8a696 (patch) | |
| tree | e87e3bb8f8724f019954692ac22b0d6386dfa5e7 /src/client/QXmppFileEncryption.h | |
| parent | 6ea3edfd83a0bf1558d43e48eac563730276c175 (diff) | |
| parent | 4897c9b6a36e961fb44d2bce04a698f979a423d5 (diff) | |
| download | qxmpp-463111576fb1476192acd2d8fe415b8482a8a696.tar.gz | |
Merge branch '1.5'
Diffstat (limited to 'src/client/QXmppFileEncryption.h')
| -rw-r--r-- | src/client/QXmppFileEncryption.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/QXmppFileEncryption.h b/src/client/QXmppFileEncryption.h index 5bd52c7e..e50bf83c 100644 --- a/src/client/QXmppFileEncryption.h +++ b/src/client/QXmppFileEncryption.h @@ -23,9 +23,9 @@ enum Direction { Decode, }; -QByteArray process(const QByteArray &data, Cipher cipherConfig, Direction direction, const QByteArray &key, const QByteArray &iv); -QByteArray generateKey(Cipher cipher); -QByteArray generateInitializationVector(Cipher); +QXMPP_EXPORT QByteArray process(const QByteArray &data, Cipher cipherConfig, Direction direction, const QByteArray &key, const QByteArray &iv); +QXMPP_EXPORT QByteArray generateKey(Cipher cipher); +QXMPP_EXPORT QByteArray generateInitializationVector(Cipher); // export for tests class QXMPP_EXPORT EncryptionDevice : public QIODevice @@ -50,7 +50,7 @@ private: std::unique_ptr<QCA::Cipher> m_cipher; }; -class DecryptionDevice : public QIODevice +class QXMPP_EXPORT DecryptionDevice : public QIODevice { public: DecryptionDevice(std::unique_ptr<QIODevice> output, Cipher config, const QByteArray &key, const QByteArray &iv); |
