#include <NfcCard.h>
|
| NfcCard (QNearFieldTarget *pNearFieldTarget) |
bool | isValid () const |
bool | invalidateTarget (const QNearFieldTarget *pNearFieldTarget) |
CardReturnCode | establishConnection () override |
| Establish a connection to the smart card.
|
CardReturnCode | releaseConnection () override |
| Destroys the previously established connection to the smart card.
|
bool | isConnected () const override |
| Is the smart card connected, i.e.
|
void | setProgressMessage (const QString &pMessage, int pProgress=-1) override |
| Sets the current workflow progress message.
|
void | setErrorMessage (const QString &pMessage) override |
ResponseApduResult | transmit (const CommandApdu &pCmd) override |
| Performs a transmit to the smart card.
|
| Card () |
| ~Card () override=default |
virtual EstablishPaceChannelOutput | establishPaceChannel (PacePasswordId pPasswordId, int pPreferredPinLength, const QByteArray &pChat, const QByteArray &pCertificateDescription) |
| Establishes a PACE channel, i.e.
|
virtual CardReturnCode | destroyPaceChannel () |
| Destroys an existing PACE channel, i.e.
|
virtual ResponseApduResult | setEidPin (quint8 pTimeoutSeconds) |
| Sets a new eID PIN, i.e.
|
virtual EstablishPaceChannelOutput | prepareIdentification (const QByteArray &pChat) |
virtual ResponseApduResult | getChallenge () |
virtual TerminalAndChipAuthenticationResult | performTAandCA (const CVCertificateChain &pTerminalCvcChain, const QByteArray &pAuxiliaryData, const QByteArray &pSignature, const QByteArray &pPin, const QByteArray &pEphemeralPublicKey) |
◆ NfcCard()
NfcCard::NfcCard |
( |
QNearFieldTarget * | pNearFieldTarget | ) |
|
|
explicit |
◆ establishConnection()
CardReturnCode NfcCard::establishConnection |
( |
| ) |
|
|
overridevirtual |
◆ fireSetProgressMessage
void governikus::NfcCard::fireSetProgressMessage |
( |
const QString & | pMessage | ) |
|
|
signal |
◆ fireTargetError
void governikus::NfcCard::fireTargetError |
( |
QNearFieldTarget::Error | pError | ) |
|
|
signal |
◆ invalidateTarget()
bool NfcCard::invalidateTarget |
( |
const QNearFieldTarget * | pNearFieldTarget | ) |
|
◆ isConnected()
bool NfcCard::isConnected |
( |
| ) |
const |
|
overridevirtual |
Is the smart card connected, i.e.
has a connection successfully been established?
Implementiert governikus::Card.
◆ isValid()
bool NfcCard::isValid |
( |
| ) |
const |
|
nodiscard |
◆ releaseConnection()
CardReturnCode NfcCard::releaseConnection |
( |
| ) |
|
|
overridevirtual |
Destroys the previously established connection to the smart card.
Implementiert governikus::Card.
◆ setErrorMessage()
void NfcCard::setErrorMessage |
( |
const QString & | pMessage | ) |
|
|
overridevirtual |
◆ setProgressMessage()
void NfcCard::setProgressMessage |
( |
const QString & | pMessage, |
|
|
int | pProgress = -1 ) |
|
overridevirtual |
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.
Erneute Implementation von governikus::Card.
◆ transmit()
Performs a transmit to the smart card.
The command APDU buffer is transmitted to the card. The response APDU buffer is filled with the data returned from the card.
Implementiert governikus::Card.
Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien: