#include <Card.h>
|
| | Card () |
| |
| | ~Card () override=default |
| |
| virtual CardReturnCode | establishConnection ()=0 |
| | Establish a connection to the smart card.
|
| |
| virtual CardReturnCode | releaseConnection ()=0 |
| | Destroys the previously established connection to the smart card.
|
| |
| virtual bool | isConnected () const =0 |
| | Is the smart card connected, i.e.
|
| |
| virtual void | setProgressMessage (const QString &pMessage, int pProgress=-1) |
| | Sets the current workflow progress message.
|
| |
| virtual ResponseApduResult | transmit (const CommandApdu &pCmd)=0 |
| | Performs a transmit to the smart card.
|
| |
| virtual EstablishPaceChannelOutput | establishPaceChannel (PacePasswordId pPasswordId, int pPreferredPinLength, const QByteArray &pChat, const QByteArray &pCertificateDescription, quint8 pTimeoutSeconds=60) |
| | 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) |
| |
|
| static QString | generateProgressMessage (const QString &pMessage, int pProgress=-1) |
| | Combines the message and progressvalue depending on the environment.
|
| |
◆ Card()
◆ ~Card()
| governikus::Card::~Card |
( |
| ) |
|
|
overridedefault |
◆ destroyPaceChannel()
| CardReturnCode Card::destroyPaceChannel |
( |
| ) |
|
|
virtual |
◆ establishConnection()
| virtual CardReturnCode governikus::Card::establishConnection |
( |
| ) |
|
|
pure virtual |
◆ establishPaceChannel()
| EstablishPaceChannelOutput Card::establishPaceChannel |
( |
PacePasswordId |
pPasswordId, |
|
|
int |
pPreferredPinLength, |
|
|
const QByteArray & |
pChat, |
|
|
const QByteArray & |
pCertificateDescription, |
|
|
quint8 |
pTimeoutSeconds = 60 |
|
) |
| |
|
virtual |
◆ generateProgressMessage()
| QString Card::generateProgressMessage |
( |
const QString & |
pMessage, |
|
|
int |
pProgress = -1 |
|
) |
| |
|
static |
Combines the message and progressvalue depending on the environment.
◆ getChallenge()
◆ isConnected()
| virtual bool governikus::Card::isConnected |
( |
| ) |
const |
|
pure virtual |
◆ performTAandCA()
◆ prepareIdentification()
◆ releaseConnection()
| virtual CardReturnCode governikus::Card::releaseConnection |
( |
| ) |
|
|
pure virtual |
◆ setEidPin()
◆ setProgressMessage()
| void Card::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.
Erneute Implementation in governikus::NfcCard und governikus::IfdCard.
◆ transmit()
Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien: