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