This class represents a connection to a smart card.
Mehr ...
#include <CardConnectionWorker.h>
|
Q_INVOKABLE ReaderInfo | getReaderInfo () const |
|
void | setPukInoperative () |
|
virtual CardReturnCode | updateRetryCounter () |
|
virtual CardReturnCode | readFile (const FileRef &pFileRef, QByteArray &pFileContent) |
|
virtual CardReturnCode | transmit (const CommandApdu &pCommandApdu, ResponseApdu &pResponseApdu) |
|
virtual CardReturnCode | establishPaceChannel (PACE_PASSWORD_ID pPasswordId, const QString &pPasswordValue, EstablishPACEChannelOutput &pChannelOutput) |
| Performs PACE and establishes a PACE channel. Mehr ...
|
|
virtual CardReturnCode | establishPaceChannel (PACE_PASSWORD_ID pPasswordId, const QString &pPasswordValue, const QByteArray &pChat, const QByteArray &pCertificateDescription, EstablishPACEChannelOutput &pChannelOutput) |
| Performs PACE and establishes a PACE channel for later terminal authentication. Mehr ...
|
|
virtual CardReturnCode | destroyPaceChannel () |
| Destroys a previously established PACE channel. Mehr ...
|
|
virtual Q_INVOKABLE bool | stopSecureMessaging () |
| Destroys an established secure messaging channel, if there is one. Mehr ...
|
|
virtual CardReturnCode | setEidPin (const QString &pNewPin, quint8 pTimeoutSeconds, ResponseApdu &pResponseApdu) |
|
This class represents a connection to a smart card.
CardConnectionWorker::CardConnectionWorker |
( |
Reader * |
pReader | ) |
|
|
protected |
The Card hold by the Reader is expected to be connected.
The connection is closed, when the CardConnection is destroyed.
CardConnectionWorker::~CardConnectionWorker |
( |
| ) |
|
|
protectedvirtual |
CardReturnCode CardConnectionWorker::destroyPaceChannel |
( |
| ) |
|
|
virtual |
Destroys a previously established PACE channel.
CardReturnCode CardConnectionWorker::establishPaceChannel |
( |
PACE_PASSWORD_ID |
pPasswordId, |
|
|
const QString & |
pPasswordValue, |
|
|
EstablishPACEChannelOutput & |
pChannelOutput |
|
) |
| |
|
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.
CardReturnCode CardConnectionWorker::establishPaceChannel |
( |
PACE_PASSWORD_ID |
pPasswordId, |
|
|
const QString & |
pPasswordValue, |
|
|
const QByteArray & |
pChat, |
|
|
const QByteArray & |
pCertificateDescription, |
|
|
EstablishPACEChannelOutput & |
pChannelOutput |
|
) |
| |
|
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.
void governikus::CardConnectionWorker::fireReaderInfoChanged |
( |
const ReaderInfo & |
pReaderInfo | ) |
|
|
signal |
ReaderInfo CardConnectionWorker::getReaderInfo |
( |
| ) |
const |
CardReturnCode CardConnectionWorker::readFile |
( |
const FileRef & |
pFileRef, |
|
|
QByteArray & |
pFileContent |
|
) |
| |
|
virtual |
CardReturnCode CardConnectionWorker::setEidPin |
( |
const QString & |
pNewPin, |
|
|
quint8 |
pTimeoutSeconds, |
|
|
ResponseApdu & |
pResponseApdu |
|
) |
| |
|
virtual |
void CardConnectionWorker::setPukInoperative |
( |
| ) |
|
bool CardConnectionWorker::stopSecureMessaging |
( |
| ) |
|
|
virtual |
Destroys an established secure messaging channel, if there is one.
CardReturnCode CardConnectionWorker::updateRetryCounter |
( |
| ) |
|
|
virtual |
Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien: