AusweisApp2
Lade ...
Suche ...
Keine Treffer
IosCard.h
gehe zur Dokumentation dieser Datei
1
7#pragma once
8
9#include "Card.h"
10
11
12namespace governikus
13{
14struct IosCardPointer;
15
17 : public Card
18{
19 Q_OBJECT
20
21 private:
22 IosCardPointer* const mCard;
23 bool mConnected;
24
25 void waitForRequestCompleted(const bool& pCondition) const;
26
27 public:
28 explicit IosCard(IosCardPointer* pTag);
29 ~IosCard() override;
30
31 [[nodiscard]] bool isValid() const;
33
34 CardReturnCode connect() override;
35 CardReturnCode disconnect() override;
36 bool isConnected() override;
37 void setProgressMessage(const QString& pMessage, int pProgress = -1) override;
38
40};
41
42} // namespace governikus
Definition: Card.h:24
Definition: CommandApdu.h:16
Definition: IosCard.h:18
ResponseApduResult transmit(const CommandApdu &pCmd) override
Performs a transmit to the smart card.
bool isConnected() override
Is the smart card connected, i.e.
IosCard(IosCardPointer *pTag)
CardReturnCode disconnect() override
Destroys the previously established connection to the smart card.
void setProgressMessage(const QString &pMessage, int pProgress=-1) override
Sets the current workflow progress message.
bool isValid() const
CardReturnCode connect() override
Establish a connection to the smart card.
Implementation of ActivationContext for Intent based activation on Android systems.
Definition: ActivationContext.h:15
Implementation detail which can only be used by Object-C++ since it stores a pointer to an Objective-...
Definition: IosCardPointer.h:14
Definition: ResponseApdu.h:107