This class represents a connection to a smart card.
Mehr ...
#include <CardConnectionWorker.h>
This class represents a connection to a smart card.
◆ CardConnectionWorker()
CardConnectionWorker::CardConnectionWorker |
( |
Reader * |
pReader | ) |
|
|
explicitprotected |
The Card hold by the Reader is expected to be connected.
The connection is closed, when the CardConnection is destroyed.
◆ ~CardConnectionWorker()
CardConnectionWorker::~CardConnectionWorker |
( |
| ) |
|
|
overrideprotected |
◆ create()
◆ destroyPaceChannel()
CardReturnCode CardConnectionWorker::destroyPaceChannel |
( |
| ) |
|
|
virtual |
Destroys a previously established PACE channel.
◆ establishPaceChannel() [1/2]
EstablishPaceChannelOutput CardConnectionWorker::establishPaceChannel |
( |
PacePasswordId |
pPasswordId, |
|
|
const QByteArray & |
pPasswordValue |
|
) |
| |
|
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.
◆ establishPaceChannel() [2/2]
EstablishPaceChannelOutput CardConnectionWorker::establishPaceChannel |
( |
PacePasswordId |
pPasswordId, |
|
|
const QByteArray & |
pPasswordValue, |
|
|
const QByteArray & |
pChat, |
|
|
const QByteArray & |
pCertificateDescription |
|
) |
| |
|
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.
◆ fireReaderInfoChanged
void governikus::CardConnectionWorker::fireReaderInfoChanged |
( |
const ReaderInfo & |
pReaderInfo | ) |
|
|
signal |
◆ getReaderInfo()
ReaderInfo CardConnectionWorker::getReaderInfo |
( |
| ) |
const |
◆ readFile()
CardReturnCode CardConnectionWorker::readFile |
( |
const FileRef & |
pFileRef, |
|
|
QByteArray & |
pFileContent |
|
) |
| |
|
virtual |
◆ setEidPin()
◆ setProgressMessage()
void CardConnectionWorker::setProgressMessage |
( |
const QString & |
pMessage, |
|
|
int |
pProgress = -1 |
|
) |
| |
|
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.
◆ setPukInoperative()
void CardConnectionWorker::setPukInoperative |
( |
| ) |
|
◆ stopSecureMessaging()
bool CardConnectionWorker::stopSecureMessaging |
( |
| ) |
|
|
virtual |
Destroys an established secure messaging channel, if there is one.
◆ transmit()
◆ updateRetryCounter()
CardReturnCode CardConnectionWorker::updateRetryCounter |
( |
| ) |
|
|
virtual |
Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien: