AusweisApp
Lade ...
Suche ...
Keine Treffer
StateGetTcToken.h
gehe zur Dokumentation dieser Datei
1
9
#pragma once
10
11
#include "
AbstractState.h
"
12
#include "
GenericContextContainer.h
"
13
#include "
context/AuthContext.h
"
14
15
#include <QNetworkReply>
16
#include <QSharedPointer>
17
18
class
test_StateGetTcToken;
19
20
namespace
governikus
21
{
22
23
class
StateGetTcToken
24
:
public
AbstractState
25
,
public
GenericContextContainer
<AuthContext>
26
{
27
Q_OBJECT
28
friend
class
StateBuilder
;
29
friend
class ::test_StateGetTcToken;
30
31
private
:
32
QSharedPointer<QNetworkReply>
mReply;
33
34
void
parseTcToken();
35
void
sendRequest(
const
QUrl
&
pUrl
);
36
bool
isValidRedirectUrl(
const
QUrl
&
pUrl
);
37
void
run()
override
;
38
39
explicit
StateGetTcToken
(
const
QSharedPointer<WorkflowContext>
&
pContext
);
40
41
private
Q_SLOTS
:
42
void
onNetworkReply();
43
void
onSslHandshakeDone();
44
void
onSslErrors(
const
QList<QSslError>&
pErrors
);
45
46
public
:
47
void
onExit
(
QEvent
*
pEvent
)
override
;
48
};
49
50
}
// namespace governikus
AbstractState.h
AuthContext.h
GenericContextContainer.h
governikus::AbstractState
Definition
AbstractState.h:36
governikus::GenericContextContainer
Definition
GenericContextContainer.h:22
governikus::StateBuilder
Definition
StateBuilder.h:19
governikus::StateGetTcToken
Definition
StateGetTcToken.h:26
governikus::StateGetTcToken::onExit
void onExit(QEvent *pEvent) override
Definition
StateGetTcToken.cpp:108
governikus
Implementation of GeneralAuthenticate response APDUs.
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:114
src
workflows
base
states
StateGetTcToken.h
Erzeugt von
1.10.0