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{
18
19public:
20 enum Error
21 {
27 };
29
30 using QObject::QObject;
31
32 //! \brief Unlock the secret backup from the given passprhase
34
35 //! \brief Unlock the secret backup by requesting the decryption keys from other devices
37
38 //! \brief Unlock the secret backup from the given security key
40
43
48
49 //! \brief Emitted after keys are loaded
50 void finished();
51
52private:
54
55 //! \brief Decrypt the key with this name from the account data
57
59 struct UnlockData;
61};
62} // namespace Quotient
#define QUOTIENT_API