AusweisApp
Lade ...
Suche ...
Keine Treffer
StateProcessIfdMessages.h
gehe zur Dokumentation dieser Datei
1
10
#pragma once
11
12
13
#include "
ReaderManager.h
"
14
#include "
context/IfdServiceContext.h
"
15
#include "
states/AbstractState.h
"
16
#include "
states/GenericContextContainer.h
"
17
18
class
test_StateProcessIfdMessages;
19
20
namespace
governikus
21
{
22
23
class
StateProcessIfdMessages
24
:
public
AbstractState
25
,
public
GenericContextContainer
<IfdServiceContext>
26
{
27
Q_OBJECT
28
friend
class
StateBuilder
;
29
friend
class ::test_StateProcessIfdMessages;
30
31
private
:
32
bool
mResetContextOnDisconnect;
33
QList<QMetaObject::Connection> mMessageConnections;
34
35
explicit
StateProcessIfdMessages
(
const
QSharedPointer<WorkflowContext>
&
pContext
);
36
void
run()
override
;
37
38
private
Q_SLOTS
:
39
void
onMessageHandlerAdded(
const
QSharedPointer<ServerMessageHandler>
&
pHandler
);
40
void
onClosed();
41
void
onConnectedChanged(
bool
pConnected
)
const
;
42
void
onReaderPropertiesUpdated(
const
ReaderInfo
&
pInfo
)
const
;
43
void
onCardConnected();
44
void
onDisplayTextChanged(
const
QString&
pDisplayText
)
const
;
45
void
onModifyPin(
const
QSharedPointer<const IfdModifyPin>
&
pMessage
,
const
QSharedPointer<CardConnection>
&
pConnection
);
46
void
onEstablishPaceChannel(
const
QSharedPointer<const IfdEstablishPaceChannel>
&
pMessage
,
const
QSharedPointer<CardConnection>
&
pConnection
);
47
void
onCardDisconnected()
const
;
48
49
protected
:
50
void
onExit
(
QEvent
*
pEvent
)
override
;
51
52
public
:
53
~StateProcessIfdMessages
()
override
=
default
;
54
55
Q_SIGNALS
:
56
void
fireEstablishPaceChannel
();
57
void
fireModifyPin
();
58
void
fireSecureMessagingStopped
();
59
};
60
61
}
// namespace governikus
AbstractState.h
GenericContextContainer.h
IfdServiceContext.h
ReaderManager.h
governikus::AbstractState
Definition
AbstractState.h:36
governikus::GenericContextContainer
Definition
GenericContextContainer.h:22
governikus::ReaderInfo
Definition
ReaderInfo.h:18
governikus::StateBuilder
Definition
StateBuilder.h:19
governikus::StateProcessIfdMessages
Definition
StateProcessIfdMessages.h:26
governikus::StateProcessIfdMessages::fireSecureMessagingStopped
void fireSecureMessagingStopped()
governikus::StateProcessIfdMessages::fireModifyPin
void fireModifyPin()
governikus::StateProcessIfdMessages::fireEstablishPaceChannel
void fireEstablishPaceChannel()
governikus::StateProcessIfdMessages::onExit
void onExit(QEvent *pEvent) override
Definition
StateProcessIfdMessages.cpp:159
governikus::StateProcessIfdMessages::~StateProcessIfdMessages
~StateProcessIfdMessages() override=default
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
ifd
states
StateProcessIfdMessages.h
Erzeugt von
1.10.0