Changeset View
Changeset View
Standalone View
Standalone View
src/crypto/inbound-group-session-p.hpp
| Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Lines | struct InboundGroupSessionPrivate | ||||
| InboundGroupSessionPrivate(const InboundGroupSessionPrivate &that); | InboundGroupSessionPrivate(const InboundGroupSessionPrivate &that); | ||||
| ~InboundGroupSessionPrivate() = default; | ~InboundGroupSessionPrivate() = default; | ||||
| std::optional<rust::Box<vodozemac::megolm::InboundGroupSession>> session; | std::optional<rust::Box<vodozemac::megolm::InboundGroupSession>> session; | ||||
| std::string ed25519Key; | std::string ed25519Key; | ||||
| bool valid{false}; | bool valid{false}; | ||||
| bool isImported{false}; | |||||
| immer::map<std::uint32_t /* index */, KeyOfDecryptedEvent> decryptedEvents; | immer::map<std::uint32_t /* index */, KeyOfDecryptedEvent> decryptedEvents; | ||||
| std::size_t checkError(std::size_t code) const; | std::size_t checkError(std::size_t code) const; | ||||
| std::string error() const; | std::string error() const; | ||||
| std::string pickle() const; | std::string pickle() const; | ||||
| bool unpickle(std::string pickleData); | bool unpickle(std::string pickleData); | ||||
| bool unpickleFromLibolm(std::string pickleData); | bool unpickleFromLibolm(std::string pickleData); | ||||
| }; | }; | ||||
| } | } | ||||