10 #include <boost/serialization/string.hpp>
11 #include <boost/serialization/split_member.hpp>
61 std::string
mxcUri()
const;
63 std::string
key()
const;
65 std::string
iv()
const;
75 template<
class Archive>
76 void save(Archive &ar,
const unsigned int )
const {
83 template<
class Archive>
84 void load(Archive &ar,
const unsigned int ) {
97 BOOST_SERIALIZATION_SPLIT_MEMBER()
Definition: encrypted-file.hpp:19
void load(Archive &ar, const unsigned int)
Definition: encrypted-file.hpp:84
std::string key() const
Definition: encrypted-file.cpp:85
JsonWrap toJson() const
Convert the encrypted file metadata to an EncryptedFile json object.
Definition: encrypted-file.cpp:60
EncryptedFileDesc()
Constructs an empty EncryptedFileDesc.
Definition: encrypted-file.cpp:19
void save(Archive &ar, const unsigned int) const
Definition: encrypted-file.hpp:76
std::string sha256Hash() const
Definition: encrypted-file.cpp:97
bool operator==(const EncryptedFileDesc &that) const
Definition: encrypted-file.cpp:103
std::string iv() const
Definition: encrypted-file.cpp:91
static EncryptedFileDesc fromJson(JsonWrap encryptedFile)
Constructs an EncryptedFileDesc from an EncryptedFile json object.
Definition: encrypted-file.cpp:33
std::string mxcUri() const
Definition: encrypted-file.cpp:79
Definition: jsonwrap.hpp:23
#define KAZV_DECLARE_COPYABLE(typeName)
Definition: copy-helper.hpp:10
Definition: location.hpp:10
@ Private
Definition: client-model.hpp:41
Definition: clientutil.hpp:217