aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/qolmaccount.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/crypto/qolmaccount.h')
-rw-r--r--lib/crypto/qolmaccount.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/crypto/qolmaccount.h b/lib/crypto/qolmaccount.h
index d61c8748..09ef623a 100644
--- a/lib/crypto/qolmaccount.h
+++ b/lib/crypto/qolmaccount.h
@@ -99,6 +99,15 @@ private:
QString m_deviceId;
};
+bool verifyIdentitySignature(const DeviceKeys &deviceKeys,
+ const QString &deviceId,
+ const QString &userId);
+
+//! checks if the signature is signed by the signing_key
+bool ed25519VerifySignature(QString signingKey,
+ QJsonObject obj,
+ QString signature);
+
} // namespace Quotient
#endif