AusweisApp
Lade ...
Suche ...
Keine Treffer
UiPluginScheme.h
gehe zur Dokumentation dieser Datei
1
5#pragma once
6
7#include "UiPlugin.h"
8
9#include <QString>
10#include <QUrl>
11
12
13class test_UiPluginScheme;
14
15
16namespace governikus
17{
18
25 : public UiPlugin
26{
28 Q_PLUGIN_METADATA(IID "governikus.UiPlugin" FILE "metadata.json")
29 Q_INTERFACES(governikus::UiPlugin)
30
32
33 private:
34 class Referrer
35 : public QString
36 {
37 public:
38 void operator=(const QString& pOther)
39 {
40 QString::operator=(pOther);
41 }
42
43
44 };
45
46 void sendRedirect(const Referrer& pReferrer, const QUrl& pRedirectAddress) const;
47
48 private Q_SLOTS:
49 void onCustomUrl(const QUrl& pUrl);
50 void doShutdown() override;
51 void onWorkflowStarted(const QSharedPointer<WorkflowRequest>& pRequest) override;
52 void onWorkflowFinished(const QSharedPointer<WorkflowRequest>& pRequest) override;
53 void onWorkflowUnhandled(const QSharedPointer<WorkflowRequest>& pRequest) override;
54
55 public:
57 ~UiPluginScheme() override;
58};
59
60} // namespace governikus
This ActivationHandler implements an API by opening custom URLs with scheme 'eid',...
Definition UiPluginScheme.h:26
~UiPluginScheme() override
Definition UiPluginScheme.cpp:33
UiPluginScheme()
Definition UiPluginScheme.cpp:24
friend class ::test_UiPluginScheme
Definition UiPluginScheme.h:31
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