AusweisApp
|
#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 |
|
explicit |
CardReturnCode PaceHandler::establishPaceChannel | ( | PacePasswordId | pPasswordId, |
const QByteArray & | pPassword ) |
Performs the PACE protocol and establishes a PACE channel.
pPasswordId | the PACE password id to use, e.g. PIN, CAN or PUK |
pPassword | the password value, e.g. "123456" |
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,
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,
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.
const QByteArray & PaceHandler::getIdIcc | ( | ) | const |
The IDicc is 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.
SecurityProtocol PaceHandler::getPaceProtocol | ( | ) | const |
The used PACE protocol.
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