diff options
| author | Melvin Keskin <melvo@olomono.de> | 2022-05-09 21:45:49 +0200 |
|---|---|---|
| committer | Linus Jahn <lnj@kaidan.im> | 2022-08-13 15:55:03 +0200 |
| commit | ceb62dd9d0d86bc8327ace116930962cf7fad1e9 (patch) | |
| tree | 35bdcccf3e1bebddadcdab6205383975ca66e4c4 /src/client/OmemoCryptoProvider.h | |
| parent | ec0669845b9072ea6cdc0fefb66f1d07511386a4 (diff) | |
| download | qxmpp-ceb62dd9d0d86bc8327ace116930962cf7fad1e9.tar.gz | |
Implement XEP-0384: OMEMO Encryption v0.8
This implements XEP-0384 in version v0.8 with a manager and storage
classes to be user-implemented for persistant storage.
The license of the code is LGPL-2.1-or-later as usual. However since
libomemo-c (libsignal-protocol-c) is GPL-3.0, the built binary is always
licensed under GPL-3.0. Having our code LGPL licensed will make it
avoids relicensing in the future in case we port it to an LGPL
compatible omemo library.
Closes #133.
Co-authored-by: Linus Jahn <lnj@kaidan.im>
Diffstat (limited to 'src/client/OmemoCryptoProvider.h')
| -rw-r--r-- | src/client/OmemoCryptoProvider.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/client/OmemoCryptoProvider.h b/src/client/OmemoCryptoProvider.h new file mode 100644 index 00000000..f4c63cd8 --- /dev/null +++ b/src/client/OmemoCryptoProvider.h @@ -0,0 +1,17 @@ +// SPDX-FileCopyrightText: 2022 Linus Jahn <lnj@kaidan.im> +// +// SPDX-License-Identifier: LGPL-2.1-or-later + +#ifndef OMEMOCRYPTOPROVIDER_H +#define OMEMOCRYPTOPROVIDER_H + +#include <signal_protocol.h> + +class QXmppOmemoManagerPrivate; + +namespace QXmpp::Omemo::Private { + +signal_crypto_provider createOmemoCryptoProvider(QXmppOmemoManagerPrivate *d); +} + +#endif // OMEMOCRYPTOPROVIDER_H |
