Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/keys/CompositeKey.h')
-rw-r--r--src/keys/CompositeKey.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/keys/CompositeKey.h b/src/keys/CompositeKey.h
index f8666aadc..531c2d9b2 100644
--- a/src/keys/CompositeKey.h
+++ b/src/keys/CompositeKey.h
@@ -22,6 +22,7 @@
#include <QString>
#include "keys/Key.h"
+#include "keys/ChallengeResponseKey.h"
class CompositeKey : public Key
{
@@ -37,7 +38,10 @@ public:
QByteArray rawKey() const;
QByteArray transform(const QByteArray& seed, quint64 rounds,
bool* ok, QString* errorString) const;
+ bool challenge(const QByteArray& seed, QByteArray &result) const;
+
void addKey(const Key& key);
+ void addChallengeResponseKey(const ChallengeResponseKey& key);
static int transformKeyBenchmark(int msec);
static CompositeKey readFromLine(QString line);
@@ -47,6 +51,7 @@ private:
quint64 rounds, bool* ok, QString* errorString);
QList<Key*> m_keys;
+ QList<ChallengeResponseKey*> m_challengeResponseKeys;
};
#endif // KEEPASSX_COMPOSITEKEY_H