AusweisApp
Lade ...
Suche ...
Keine Treffer
PersonalizationModel.h
gehe zur Dokumentation dieser Datei
1
9#pragma once
10
11#include "AuthModel.h"
12#include "SingletonCreator.h"
13#include "WorkflowRequest.h"
14
15#if __has_include("context/PersonalizationContext.h")
17#endif
18
19#include <QtQml/qqmlregistration.h>
20
21class test_UiPluginQml;
22
23
24namespace governikus
25{
26
28 : public AuthModel
29{
33
34 friend class Env;
35 friend class ::test_UiPluginQml;
36
42
43 private:
45
46#if __has_include("context/PersonalizationContext.h")
47
48 private:
50
51 public:
53#endif
54
55 public:
60
61
63 [[nodiscard]] QString getBlockingCode() const;
64 [[nodiscard]] int getRemainingAttempts() const;
65 [[nodiscard]] QString getRestrictionDate() const;
66 [[nodiscard]] QString getBlockingPeriodMessage() const;
67 [[nodiscard]] bool isApplet() const;
68 [[nodiscard]] QList<ReaderManagerPluginType> getSupportedReaderPluginTypes() const override;
69
70 public Q_SLOTS:
72
79};
80
81} // namespace governikus
Definition AuthModel.h:32
Definition Env.h:42
Definition PersonalizationModel.h:29
QString blockingCode
Definition PersonalizationModel.h:37
QString restrictionDate
Definition PersonalizationModel.h:39
bool applet
Definition PersonalizationModel.h:41
QString getBlockingPeriodMessage() const
Definition PersonalizationModel.cpp:69
QString getRestrictionDate() const
Definition PersonalizationModel.cpp:57
QString blockingPeriodMessage
Definition PersonalizationModel.h:40
int remainingAttempts
Definition PersonalizationModel.h:38
QList< ReaderManagerPluginType > getSupportedReaderPluginTypes() const override
Definition PersonalizationModel.cpp:110
QString getBlockingCode() const
Definition PersonalizationModel.cpp:33
Q_INVOKABLE void startWorkflow()
Definition PersonalizationModel.cpp:23
bool isApplet() const
Definition PersonalizationModel.cpp:79
void onTranslationChanged()
Definition PersonalizationModel.cpp:118
int getRemainingAttempts() const
Definition PersonalizationModel.cpp:45
void fireStartWorkflow(const QSharedPointer< WorkflowRequest > &pRequest)
static PersonalizationModel * create(const QQmlEngine *pQmlEngine, const QJSEngine *pJSEngine)
Definition PersonalizationModel.h:56
static T * create(const QQmlEngine *, const QJSEngine *)
Definition SingletonCreator.h:24
Implementation of GeneralAuthenticate response APDUs.
Definition CommandApdu.h:17
QSharedPointer< T > decodeObject(const QByteArray &pData, bool pLogging=true)
Template function for decoding an OpenSSL type from DER encoded QByteArray.
Definition ASN1TemplateUtil.h:114