AusweisApp
Lade ...
Suche ...
Keine Treffer
StateGetTcToken.h
gehe zur Dokumentation dieser Datei
1
5
#pragma once
6
7
#include "
AbstractState.h
"
8
#include "
GenericContextContainer.h
"
9
#include "
context/AuthContext.h
"
10
11
#include <QNetworkReply>
12
#include <QSharedPointer>
13
14
class
test_StateGetTcToken;
15
16
namespace
governikus
17
{
18
19
class
StateGetTcToken
20
:
public
AbstractState
21
,
public
GenericContextContainer
<AuthContext>
22
{
23
Q_OBJECT
24
friend
class
StateBuilder
;
25
friend
class ::test_StateGetTcToken;
26
27
private
:
28
QSharedPointer<QNetworkReply>
mReply;
29
30
void
parseTcToken();
31
void
sendRequest(
const
QUrl
&
pUrl
);
32
bool
isValidRedirectUrl(
const
QUrl
&
pUrl
);
33
void
run()
override
;
34
35
explicit
StateGetTcToken
(
const
QSharedPointer<WorkflowContext>
&
pContext
);
36
37
private
Q_SLOTS
:
38
void
onNetworkReply();
39
void
onSslHandshakeDone();
40
void
onSslErrors(
const
QList<QSslError>&
pErrors
);
41
42
public
:
43
void
onExit
(
QEvent
*
pEvent
)
override
;
44
};
45
46
}
// namespace governikus
AbstractState.h
AuthContext.h
GenericContextContainer.h
governikus::AbstractState
Definition
AbstractState.h:32
governikus::GenericContextContainer
Definition
GenericContextContainer.h:15
governikus::StateBuilder
Definition
StateBuilder.h:15
governikus::StateGetTcToken
Definition
StateGetTcToken.h:22
governikus::StateGetTcToken::onExit
void onExit(QEvent *pEvent) override
Definition
StateGetTcToken.cpp:108
governikus
Defines the AccessRight and AccessRole enum.
Definition
CommandApdu.h:17
governikus::decodeObject
QSharedPointer< T > decodeObject(const QByteArray &pData, bool pLogging=true)
Template function for decoding an OpenSSL type from DER encoded QByteArray.
Definition
ASN1TemplateUtil.h:112
src
workflows
base
states
StateGetTcToken.h
Erzeugt von
1.10.0