AusweisApp
Lade ...
Suche ...
Keine Treffer
ChangePinModel.h
gehe zur Dokumentation dieser Datei
1
9#pragma once
10
11#include "Env.h"
12#include "SingletonCreator.h"
13#include "WorkflowModel.h"
14#include "WorkflowRequest.h"
16
17#include <QObject>
18#include <QQmlEngine>
19#include <QSharedPointer>
20#include <QString>
21#include <QtQml/qqmlregistration.h>
22
23
24class test_UiPluginQml;
25
26
27namespace governikus
28{
29
31 : public WorkflowModel
32 , public SingletonCreator<ChangePinModel>
33{
37
38 friend class Env;
39 friend class ::test_UiPluginQml;
41
42 private:
44 ChangePinModel() = default;
45 ~ChangePinModel() override = default;
46
47 public:
49
51 [[nodiscard]] QString getResultString() const override;
52 [[nodiscard]] QList<ReaderManagerPluginType> getSupportedReaderPluginTypes() const override;
53 [[nodiscard]] bool isRequestTransportPin() const;
54
57};
58
59
60} // namespace governikus
Definition ChangePinModel.h:33
QList< ReaderManagerPluginType > getSupportedReaderPluginTypes() const override
Definition ChangePinModel.cpp:45
void resetChangePinContext(const QSharedPointer< ChangePinContext > &pContext=QSharedPointer< ChangePinContext >())
Definition ChangePinModel.cpp:13
void fireStartWorkflow(const QSharedPointer< WorkflowRequest > &pRequest)
Q_INVOKABLE void startWorkflow(bool pRequestTransportPin, bool pActivateUi=true)
Definition ChangePinModel.cpp:28
bool isRequestTransportPin() const
Definition ChangePinModel.cpp:56
QString getResultString() const override
Definition ChangePinModel.cpp:34
bool requestTransportPin
Definition ChangePinModel.h:40
Definition Env.h:42
Definition SingletonCreator.h:22
Definition WorkflowModel.h:27
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