AusweisApp
Lade ...
Suche ...
Keine Treffer
governikus::NfcCard Klassenreferenz

#include <NfcCard.h>

Klassendiagramm für governikus::NfcCard:

Signale

void fireTargetError (QNearFieldTarget::Error pError)
 
void fireSetProgressMessage (const QString &pMessage)
 

Öffentliche Methoden

 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.
 
ResponseApduResult transmit (const CommandApdu &pCmd) override
 Performs a transmit to the smart card.
 
- Öffentliche Methoden geerbt von governikus::Card
 Card ()
 
 ~Card () override=default
 
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)
 

Weitere Geerbte Elemente

- Öffentliche, statische Methoden geerbt von governikus::Card
static QString generateProgressMessage (const QString &pMessage, int pProgress=-1)
 Combines the message and progressvalue depending on the environment.
 

Beschreibung der Konstruktoren und Destruktoren

◆ NfcCard()

NfcCard::NfcCard ( QNearFieldTarget * pNearFieldTarget)
explicit
Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Dokumentation der Elementfunktionen

◆ establishConnection()

CardReturnCode NfcCard::establishConnection ( )
overridevirtual

Establish a connection to the smart card.

Implementiert governikus::Card.

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

◆ fireSetProgressMessage

void governikus::NfcCard::fireSetProgressMessage ( const QString & pMessage)
signal
Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

◆ fireTargetError

void governikus::NfcCard::fireTargetError ( QNearFieldTarget::Error pError)
signal
Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

◆ invalidateTarget()

bool NfcCard::invalidateTarget ( const QNearFieldTarget * pNearFieldTarget)
Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

◆ isConnected()

bool NfcCard::isConnected ( ) const
overridevirtual

Is the smart card connected, i.e.

has a connection successfully been established?

Implementiert governikus::Card.

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

◆ isValid()

bool NfcCard::isValid ( ) const
Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

◆ releaseConnection()

CardReturnCode NfcCard::releaseConnection ( )
overridevirtual

Destroys the previously established connection to the smart card.

Implementiert governikus::Card.

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

◆ 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.

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

◆ transmit()

ResponseApduResult NfcCard::transmit ( const CommandApdu & pCmd)
overridevirtual

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.

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien: