#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 void | setErrorMessage (const QString &pMessage) |
| 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) |
| | 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) |
◆ 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 ) |
|
virtual |
◆ generateErrorMessage()
| QString Card::generateErrorMessage |
( |
const QString & | pMessage | ) |
|
|
static |
◆ 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()
◆ setErrorMessage()
| void Card::setErrorMessage |
( |
const QString & | pMessage | ) |
|
|
virtual |
◆ 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::IfdCard und governikus::NfcCard.
◆ transmit()
◆ DEFAULT_PINPAD_TIMEOUT
| int governikus::Card::DEFAULT_PINPAD_TIMEOUT = 90 |
|
staticconstexpr |
Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien: