AusweisApp2
|
This class represents a connection to a smart card. Mehr ...
#include <CardConnectionWorker.h>
Signale | |
void | fireReaderInfoChanged (const ReaderInfo &pReaderInfo) |
Öffentliche Methoden | |
Q_INVOKABLE ReaderInfo | getReaderInfo () const |
void | setPukInoperative () |
virtual CardReturnCode | updateRetryCounter () |
virtual CardReturnCode | readFile (const FileRef &pFileRef, QByteArray &pFileContent) |
virtual ResponseApduResult | transmit (const CommandApdu &pCommandApdu) |
virtual EstablishPaceChannelOutput | establishPaceChannel (PacePasswordId pPasswordId, const QString &pPasswordValue) |
Performs PACE and establishes a PACE channel. Mehr ... | |
virtual EstablishPaceChannelOutput | establishPaceChannel (PacePasswordId pPasswordId, const QString &pPasswordValue, const QByteArray &pChat, const QByteArray &pCertificateDescription) |
Performs PACE and establishes a PACE channel for later terminal authentication. Mehr ... | |
virtual CardReturnCode | destroyPaceChannel () |
Destroys a previously established PACE channel. Mehr ... | |
virtual void | setProgressMessage (const QString &pMessage) |
Sets the current workflow progress message. Mehr ... | |
virtual Q_INVOKABLE bool | stopSecureMessaging () |
Destroys an established secure messaging channel, if there is one. Mehr ... | |
virtual ResponseApduResult | setEidPin (const QString &pNewPin, quint8 pTimeoutSeconds) |
Öffentliche, statische Methoden | |
static QSharedPointer< CardConnectionWorker > | create (Reader *pReader) |
Geschützte Methoden | |
CardConnectionWorker (Reader *pReader) | |
The Card hold by the Reader is expected to be connected. Mehr ... | |
virtual | ~CardConnectionWorker () |
Destroys the CardConnection and disconnects from the card. Mehr ... | |
This class represents a connection to a smart card.
|
explicitprotected |
The Card hold by the Reader is expected to be connected.
The connection is closed, when the CardConnection is destroyed.
|
protectedvirtual |
Destroys the CardConnection and disconnects from the card.
|
static |
|
virtual |
Destroys a previously established PACE channel.
Erneute Implementation in governikus::MockCardConnectionWorker.
|
virtual |
Performs PACE and establishes a PACE channel.
If the Reader is a basic reader and the PACE channel is successfully established, the subsequent transmits will be secured using, secure messaging. I. e., a secure messaging channel is established.
|
virtual |
Performs PACE and establishes a PACE channel for later terminal authentication.
If the Reader is a basic reader and the PACE channel is successfully established, the subsequent transmits will be secured using, secure messaging. I. e., a secure messaging channel is established.
Erneute Implementation in governikus::MockCardConnectionWorker.
|
signal |
ReaderInfo CardConnectionWorker::getReaderInfo | ( | ) | const |
|
virtual |
|
virtual |
Erneute Implementation in governikus::MockCardConnectionWorker.
|
virtual |
Sets the current workflow progress message.
This is necessary for platforms like iOS, where interacting with a card leads to a dialog where the message needs to be updated.
void CardConnectionWorker::setPukInoperative | ( | ) |
|
virtual |
Destroys an established secure messaging channel, if there is one.
|
virtual |
Erneute Implementation in governikus::MockCardConnectionWorker.
|
virtual |
Erneute Implementation in governikus::MockCardConnectionWorker.