aboutsummaryrefslogtreecommitdiff
path: root/lib/e2ee.h
diff options
context:
space:
mode:
authorAlexey Andreyev <aa13q@ya.ru>2019-07-14 03:54:19 +0300
committerAlexey Andreyev <aa13q@ya.ru>2019-07-27 13:33:27 +0300
commit2737dc00334ad3a56c1b311435dbe84453ee389e (patch)
treea2c53b90279728fa69cf5726ce8a1b39999a5b01 /lib/e2ee.h
parentf1546e894b2a7550bce3e8d84067968bf5cf7087 (diff)
downloadlibquotient-2737dc00334ad3a56c1b311435dbe84453ee389e.tar.gz
libquotient-2737dc00334ad3a56c1b311435dbe84453ee389e.zip
E2EE: introduce EncryptedEvent
Diffstat (limited to 'lib/e2ee.h')
-rw-r--r--lib/e2ee.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/e2ee.h b/lib/e2ee.h
index f663ddc3..4a42809d 100644
--- a/lib/e2ee.h
+++ b/lib/e2ee.h
@@ -4,6 +4,11 @@
namespace QMatrixClient
{
+ static const auto CiphertextKeyL = "ciphertext"_ls;
+ static const auto SenderKeyKeyL = "sender_key"_ls;
+ static const auto DeviceIdKeyL = "device_id"_ls;
+ static const auto SessionIdKeyL = "session_id"_ls;
+
static const auto AlgorithmKeyL = "algorithm"_ls;
static const auto RotationPeriodMsKeyL = "rotation_period_ms"_ls;
static const auto RotationPeriodMsgsKeyL = "rotation_period_msgs"_ls;