constructRandomSize() | Kazv::Crypto | static |
createInboundGroupSession(KeyOfGroupSession k, std::string sessionKey, std::string ed25519Key) | Kazv::Crypto | |
createOutboundSessionRandomSize() | Kazv::Crypto | static |
createOutboundSessionWithRandom(RandomData random, std::string theirIdentityKey, std::string theirOneTimeKey) | Kazv::Crypto | |
Crypto() | Kazv::Crypto | explicit |
Crypto(RandomTag, RandomData data) | Kazv::Crypto | |
Crypto(const Crypto &that) | Kazv::Crypto | |
Crypto(Crypto &&that) | Kazv::Crypto | |
curve25519IdentityKey() const | Kazv::Crypto | |
decrypt(nlohmann::json eventJson) | Kazv::Crypto | |
devicesMissingOutboundSessionKey(immer::map< std::string, immer::map< std::string, std::string >> keyMap) const | Kazv::Crypto | |
ed25519IdentityKey() const | Kazv::Crypto | |
encryptMegOlm(nlohmann::json eventJson) | Kazv::Crypto | |
encryptOlmMaxRandomSize() | Kazv::Crypto | static |
encryptOlmRandomSize(std::string theirCurve25519IdentityKey) const | Kazv::Crypto | |
encryptOlmWithRandom(RandomData random, nlohmann::json eventJson, std::string theirCurve25519IdentityKey) | Kazv::Crypto | |
genOneTimeKeysRandomSize(int num) | Kazv::Crypto | static |
genOneTimeKeysWithRandom(RandomData random, int num) | Kazv::Crypto | |
getInboundGroupSessionEd25519KeyFromEvent(const nlohmann::json &eventJson) const | Kazv::Crypto | |
hasInboundGroupSession(KeyOfGroupSession k) const | Kazv::Crypto | |
load(Archive &ar, const unsigned int) | Kazv::Crypto | inline |
loadJson(const nlohmann::json &j) | Kazv::Crypto | |
markOneTimeKeysAsPublished() | Kazv::Crypto | |
maxNumberOfOneTimeKeys() const | Kazv::Crypto | |
numUnpublishedOneTimeKeys() const | Kazv::Crypto | |
operator=(const Crypto &that) | Kazv::Crypto | |
operator=(Crypto &&that) | Kazv::Crypto | |
operator==(const Crypto &that) const | Kazv::Crypto | |
outboundGroupSessionCurrentKey(std::string roomId) | Kazv::Crypto | |
outboundGroupSessionInitialKey(std::string roomId) | Kazv::Crypto | |
rotateMegOlmSessionRandomSize() | Kazv::Crypto | static |
rotateMegOlmSessionWithRandom(RandomData random, Timestamp timeMs, std::string roomId) | Kazv::Crypto | |
rotateMegOlmSessionWithRandomIfNeeded(RandomData random, Timestamp timeMs, std::string roomId, MegOlmSessionRotateDesc desc) | Kazv::Crypto | |
save(Archive &ar, const unsigned int) const | Kazv::Crypto | inline |
Session class | Kazv::Crypto | friend |
SessionPrivate | Kazv::Crypto | friend |
setUploadedOneTimeKeysCount(immer::map< std::string, int > uploadedOneTimeKeysCount) | Kazv::Crypto | |
sign(nlohmann::json j) | Kazv::Crypto | |
toJson() const | Kazv::Crypto | |
unpublishedOneTimeKeys() const | Kazv::Crypto | |
uploadedOneTimeKeysCount(std::string algorithm) const | Kazv::Crypto | |
UserIdToDeviceIdMap typedef | Kazv::Crypto | |
valid() const | Kazv::Crypto | |
verify(nlohmann::json object, std::string userId, std::string deviceId, std::string ed25519Key) | Kazv::Crypto | |
~Crypto() | Kazv::Crypto | |