AusweisApp2
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. Mehr ...
 
void setChat (const QByteArray &pChat)
 The certificate holder authorization template to be supplied to the card. Mehr ...
 
const QByteArray & getEncryptionKey () const
 During PACE protocol an encryption key is determined. Mehr ...
 
const QByteArray & getMacKey () const
 During PACE protocol a MAC key is determined. Mehr ...
 
const QByteArray & getCarCurr () const
 During PACE protocol a certificate authority reference (CAR) may be determined. Mehr ...
 
const QByteArray & getCarPrev () const
 During PACE protocol a certificate authority reference (CAR) may be determined. Mehr ...
 
const QByteArray & getIdIcc () const
 The IDicc is the card's compressed ephemeral public key. Mehr ...
 
const QByteArray & getStatusMseSetAt () const
 
QByteArray getPaceProtocol () const
 The used PACE protocol. Mehr ...
 

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

◆ 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()

QByteArray PaceHandler::getPaceProtocol ( ) const

The used PACE protocol.

Rückgabe
the PACE protocol OID as string.

◆ 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

Freundbeziehungen und Funktionsdokumentation

◆ ::test_PaceHandler

friend class ::test_PaceHandler
friend

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