libQuotient
A Qt library for building matrix clients
Loading...
Searching...
No Matches
sssshandler.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2023 Tobias Fella <tobias.fella@kde.org>
2// SPDX-License-Identifier: LGPL-2.0-or-later
3
4#pragma once
5
6#include "cryptoutils.h"
7
8#include "../connection.h"
9
10#include <QtCore/QObject>
11#include <QtCore/QPointer>
12
13namespace Quotient {
15{
19
20public:
21 enum Error
22 {
28 };
30
31 using QObject::QObject;
32
33 //! \brief Unlock the secret backup from the given passprhase
35
36 //! \brief Unlock the secret backup by requesting the decryption keys from other devices
38
39 //! \brief Unlock the secret backup from the given security key
41
44
49
50 //! \brief Emitted after keys are loaded
51 void finished();
52
53private:
55
56 //! \brief Decrypt the key with this name from the account data
58
60 struct UnlockData;
62};
63} // namespace Quotient
#define QUOTIENT_API