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:48
Code
Definition GlobalStatus.h:28
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:214
ResponseApduResult setEidPin(quint8 pTimeoutSeconds) override
Sets a new eID PIN, i.e.
Definition IfdCard.cpp:249
ResponseApduResult transmit(const CommandApdu &pCmd) override
Performs a transmit to the smart card.
Definition IfdCard.cpp:187
bool isConnected() const override
Is the smart card connected, i.e.
Definition IfdCard.cpp:175
void setProgressMessage(const QString &pMessage, int pProgress=-1) override
Sets the current workflow progress message.
Definition IfdCard.cpp:181
CardReturnCode establishConnection() override
Establish a connection to the smart card.
Definition IfdCard.cpp:128
~IfdCard() override
Definition IfdCard.cpp:122
CardReturnCode releaseConnection() override
Destroys the previously established connection to the smart card.
Definition IfdCard.cpp:152
Implementation of GeneralAuthenticate response APDUs.
Definition CommandApdu.h:16
quint8
Definition ResponseApdu.h:62
Definition ResponseApdu.h:115