AusweisApp2
 Alle Klassen Namensbereiche Dateien Funktionen Variablen Typdefinitionen Aufzählungen Aufzählungswerte Propertys Freundbeziehungen Makrodefinitionen
governikus::PaceHandler Klassenreferenz

#include <PaceHandler.h>

Öffentliche Methoden

 PaceHandler (const QSharedPointer< CardConnectionWorker > &pCardConnectionWorker)
 
CardReturnCode establishPaceChannel (PACE_PASSWORD_ID pPasswordId, const QString &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 ( const QSharedPointer< CardConnectionWorker > &  pCardConnectionWorker)

Dokumentation der Elementfunktionen

CardReturnCode PaceHandler::establishPaceChannel ( PACE_PASSWORD_ID  pPasswordId,
const QString &  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
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
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
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
const QByteArray & PaceHandler::getIdIcc ( ) const

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

Rückgabe
the card's compressed ephemeral public key
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
QByteArray PaceHandler::getPaceProtocol ( ) const

The used PACE protocol.

Rückgabe
the PACE protocol OID as string.
const QByteArray & PaceHandler::getStatusMseSetAt ( ) const
void PaceHandler::setChat ( const QByteArray &  pChat)

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

May be empty

Freundbeziehungen und Funktionsdokumentation

friend class ::test_PaceHandler
friend

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