#include <Quotient/converters.h>
#include <array>
Go to the source code of this file.
|
QUOTIENT_API std::pair< EncryptedFileMetadata, QByteArray > | Quotient::encryptFile (const QByteArray &plainText) |
|
QUOTIENT_API QByteArray | Quotient::decryptFile (const QByteArray &ciphertext, const EncryptedFileMetadata &metadata) |
|
QUOTIENT_API QUrl | Quotient::getUrlFromSourceInfo (const FileSourceInfo &fsi) |
|
QUOTIENT_API void | Quotient::setUrlInSourceInfo (FileSourceInfo &fsi, const QUrl &newUrl) |
|
template<> |
void | Quotient::fillJson (QJsonObject &, const FileSourceInfo &)=delete |
|
QUOTIENT_API void | Quotient::fillJson (QJsonObject &jo, const FileSourceInfoKeys &jsonKeys, const FileSourceInfo &fsi) |
| Export FileSourceInfo to a JSON object. More...
|
|
QUOTIENT_API FileSourceInfo | Quotient::fileSourceInfoFromJson (const QJsonObject &jo, const FileSourceInfoKeys &jsonKeys) |
|
QUOTIENT_API void | Quotient::FileMetadataMap::add (const QString &roomId, const QString &eventId, const EncryptedFileMetadata &fileMetadata) |
|
QUOTIENT_API void | Quotient::FileMetadataMap::remove (const QString &roomId, const QString &eventId) |
|
QUOTIENT_API EncryptedFileMetadata | Quotient::FileMetadataMap::lookup (const QString &roomId, const QString &eventId) |
| Obtain file source information across connections, thread-safely. More...
|
|