AusweisApp
Lade ...
Suche ...
Keine Treffer
governikus::PaceHandler Klassenreferenzfinal

#include <PaceHandler.h>

Öffentliche Methoden

 PaceHandler (const QSharedPointer< CardConnectionWorker > &pCardConnectionWorker)
 
CardReturnCode establishPaceChannel (PacePasswordId pPasswordId, const QByteArray &pPassword)
 Performs the PACE protocol and establishes a PACE channel.
 
void setChat (const QByteArray &pChat)
 The certificate holder authorization template to be supplied to the card.
 
const QByteArray & getEncryptionKey () const
 During PACE protocol an encryption key is determined.
 
const QByteArray & getMacKey () const
 During PACE protocol a MAC key is determined.
 
const QByteArray & getCarCurr () const
 During PACE protocol a certificate authority reference (CAR) may be determined.
 
const QByteArray & getCarPrev () const
 During PACE protocol a certificate authority reference (CAR) may be determined.
 
const QByteArray & getIdIcc () const
 The IDicc is the card's compressed ephemeral public key.
 
const QByteArray & getStatusMseSetAt () const
 
SecurityProtocol getPaceProtocol () const
 The used PACE protocol.
 

Freundbeziehungen

class ::test_PaceHandler
 

Beschreibung der Konstruktoren und Destruktoren

◆ PaceHandler()

PaceHandler::PaceHandler ( const QSharedPointer< CardConnectionWorker > &  pCardConnectionWorker)
explicit

Dokumentation der Elementfunktionen

◆ establishPaceChannel()

CardReturnCode PaceHandler::establishPaceChannel ( PacePasswordId  pPasswordId,
const QByteArray &  pPassword 
)

Performs the PACE protocol and establishes a PACE channel.

Parameter
pPasswordIdthe PACE password id to use, e.g. PIN, CAN or PUK
pPasswordthe password value, e.g. "123456"
Rückgabe
false on any errors during establishment
Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

◆ getCarCurr()

const QByteArray & PaceHandler::getCarCurr ( ) const

During PACE protocol a certificate authority reference (CAR) may be determined.

This method returns this CAR. The CAR is determined, if a CHAT was supplied,

Siehe auch
setChat
Rückgabe
the card's CAR number 1
Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

◆ getCarPrev()

const QByteArray & PaceHandler::getCarPrev ( ) const

During PACE protocol a certificate authority reference (CAR) may be determined.

This method returns this CAR. The CAR is determined, if a CHAT was supplied,

Siehe auch
setChat
Rückgabe
the card's CAR number 2
Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

◆ getEncryptionKey()

const QByteArray & PaceHandler::getEncryptionKey ( ) const

During PACE protocol an encryption key is determined.

This method returns this key. I. e. the output of KDF_enc according to TR-03110 Part 3 chapter A.2.3.

Rückgabe
the encryption key
Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

◆ getIdIcc()

const QByteArray & PaceHandler::getIdIcc ( ) const

The IDicc is the card's compressed ephemeral public key.

Rückgabe
the card's compressed ephemeral public key
Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

◆ getMacKey()

const QByteArray & PaceHandler::getMacKey ( ) const

During PACE protocol a MAC key is determined.

This method returns this key. I. e. the output of KDF_mac according to TR-03110 Part 3 chapter A.2.3.

Rückgabe
the MAC key
Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

◆ getPaceProtocol()

SecurityProtocol PaceHandler::getPaceProtocol ( ) const

The used PACE protocol.

Rückgabe
the PACE specific security protocol.
Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

◆ getStatusMseSetAt()

const QByteArray & PaceHandler::getStatusMseSetAt ( ) const
Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

◆ setChat()

void PaceHandler::setChat ( const QByteArray &  pChat)

The certificate holder authorization template to be supplied to the card.

May be empty

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

Freundbeziehungen und Funktionsdokumentation

◆ ::test_PaceHandler

friend class ::test_PaceHandler
friend

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