19 struct OutboundGroupSessionPrivate;
46 std::string
encrypt(std::string plainText);
60 std::unique_ptr<OutboundGroupSessionPrivate> m_d;
Definition: outbound-group-session.hpp:22
OutboundGroupSession & operator=(const OutboundGroupSession &that)
Definition: outbound-group-session.cpp:99
std::string sessionKey()
Definition: outbound-group-session.cpp:136
std::string sessionId()
Definition: outbound-group-session.cpp:146
bool valid() const
Definition: outbound-group-session.cpp:111
OutboundGroupSession()
Definition: outbound-group-session.cpp:76
int messageIndex()
Definition: outbound-group-session.cpp:152
friend void from_json(const nlohmann::json &j, OutboundGroupSession &s)
Definition: outbound-group-session.cpp:174
friend void to_json(nlohmann::json &j, const OutboundGroupSession &s)
Definition: outbound-group-session.cpp:162
static std::size_t constructRandomSize()
Definition: outbound-group-session.cpp:71
std::string initialSessionKey() const
Definition: outbound-group-session.cpp:141
Timestamp creationTimeMs() const
Definition: outbound-group-session.cpp:157
std::string encrypt(std::string plainText)
Definition: outbound-group-session.cpp:116
Definition: location.hpp:10
std::string RandomData
Definition: crypto-util.hpp:34
nlohmann::json json
Definition: jsonwrap.hpp:20
std::int_fast64_t Timestamp
Definition: event.hpp:18
The tag to indicate that a constructor should use user-provided random data.
Definition: crypto-util.hpp:32