16#include <QSharedPointer>
18#include <QWaitCondition>
30 bool mWaitingForAnswer;
31 QWaitCondition mWaitCondition;
32 QMutex mResponseAvailable;
33 QMutex mProcessResponse;
35 IfdMessageType mExpectedAnswerType;
36 QJsonObject mResponse;
37 const QSharedPointer<IfdDispatcherClient> mDispatcher;
41 QString mProgressMessage;
43 bool sendMessage(
const QSharedPointer<const IfdMessage>& pMessage, IfdMessageType pExpectedAnswer,
unsigned long pTimeout);
46 void onMessageReceived(IfdMessageType pMessageTpe,
const QJsonObject& pJsonObject);
53 IfdCard(
const QSharedPointer<IfdDispatcherClient>& pDispatcher,
const QString& pReaderName);
Definition EstablishPaceChannelOutput.h:49
Code
Definition GlobalStatus.h:30
EstablishPaceChannelOutput establishPaceChannel(PacePasswordId pPasswordId, int pPreferredPinLength, const QByteArray &pChat, const QByteArray &pCertificateDescription, quint8 pTimeoutSeconds=60) override
Establishes a PACE channel, i.e.
Definition IfdCard.cpp:224
ResponseApduResult setEidPin(quint8 pTimeoutSeconds) override
Sets a new eID PIN, i.e.
Definition IfdCard.cpp:282
IfdCard(const QSharedPointer< IfdDispatcherClient > &pDispatcher, const QString &pReaderName)
Definition IfdCard.cpp:103
ResponseApduResult transmit(const CommandApdu &pCmd) override
Performs a transmit to the smart card.
Definition IfdCard.cpp:197
bool isConnected() const override
Is the smart card connected, i.e.
Definition IfdCard.cpp:179
void setErrorMessage(const QString &pMessage) override
Definition IfdCard.cpp:191
void setProgressMessage(const QString &pMessage, int pProgress=-1) override
Sets the current workflow progress message.
Definition IfdCard.cpp:185
CardReturnCode destroyPaceChannel() override
Destroys an existing PACE channel, i.e.
Definition IfdCard.cpp:259
CardReturnCode establishConnection() override
Establish a connection to the smart card.
Definition IfdCard.cpp:130
~IfdCard() override
Definition IfdCard.cpp:124
CardReturnCode releaseConnection() override
Destroys the previously established connection to the smart card.
Definition IfdCard.cpp:155
Implementation of GeneralAuthenticate response APDUs.
Definition CommandApdu.h:17
quint8
Definition ResponseApdu.h:64
Definition ResponseApdu.h:115