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 QByteArraygetEncryptionKey () const
 During PACE protocol an encryption key is determined.
 
const QByteArraygetMacKey () const
 During PACE protocol a MAC key is determined.
 
const QByteArraygetCarCurr () const
 During PACE protocol a certificate authority reference (CAR) may be determined.
 
const QByteArraygetCarPrev () const
 During PACE protocol a certificate authority reference (CAR) may be determined.
 
const QByteArraygetIdIcc () const
 The IDicc is the card's compressed ephemeral public key.
 
const QByteArraygetStatusMseSetAt () 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, was diese Funktion aufruft:

◆ 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

◆ 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

◆ 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

◆ 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

◆ 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

◆ getPaceProtocol()

SecurityProtocol PaceHandler::getPaceProtocol ( ) const

The used PACE protocol.

Rückgabe
the PACE specific security protocol.
Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

◆ getStatusMseSetAt()

const QByteArray & PaceHandler::getStatusMseSetAt ( ) const

◆ 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, was diese Funktion aufruft:

Freundbeziehungen und Funktionsdokumentation

◆ ::test_PaceHandler

friend class ::test_PaceHandler
friend

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