libQuotient
A Qt library for building matrix clients
|
#include <keyimport.h>
Public Types | |
enum | Error { Success , InvalidPassphrase , InvalidData , OtherError } |
Public Member Functions | |
Q_INVOKABLE Error | importKeys (QString data, const QString &passphrase, const Quotient::Connection *connection) |
Q_INVOKABLE Quotient::Expected< QByteArray, Error > | exportKeys (const QString &passphrase, const Quotient::Connection *connection) |
Friends | |
class | ::TestKeyImport |
Definition at line 21 of file keyimport.h.
Enumerator | |
---|---|
Success | |
InvalidPassphrase | |
InvalidData | |
OtherError |
Definition at line 26 of file keyimport.h.
Q_INVOKABLE Quotient::Expected< QByteArray, Error > Quotient::KeyImport::exportKeys | ( | const QString & | passphrase, |
const Quotient::Connection * | connection | ||
) |
Q_INVOKABLE Error Quotient::KeyImport::importKeys | ( | QString | data, |
const QString & | passphrase, | ||
const Quotient::Connection * | connection | ||
) |
Definition at line 40 of file keyimport.h.