#include <epasscommands.hpp>
◆ EPassCommands() [1/2]
EPassCommands::EPassCommands |
( |
| ) |
|
◆ EPassCommands() [2/2]
EPassCommands::EPassCommands |
( |
std::string |
ct | ) |
|
|
explicit |
◆ authenticate()
bool EPassCommands::authenticate |
( |
const std::string & |
mrz | ) |
|
◆ compute_hash()
◆ getISO7816Commands()
virtual std::shared_ptr< ISO7816Commands > logicalaccess::EPassCommands::getISO7816Commands |
( |
| ) |
const |
|
pure virtual |
◆ readDG1()
EPassDG1 EPassCommands::readDG1 |
( |
| ) |
const |
Extract information from Data Group 1.
- Note
- Data Group 1 contains the various data available on the MRZ.
◆ readDG2()
Retrieve the content of the Data Group 2 and present it throughout a usable object.
- Note
- Data Group 2 contains facial biometric.
◆ readEF()
ByteVector EPassCommands::readEF |
( |
uint8_t |
size_bytes, |
|
|
uint8_t |
size_offset |
|
) |
| const |
Fully read the current file.
- Parameters
-
size_bytes | Is the number of bytes used to encode the size of the file, it will generally be 0 or 1. |
size_offset | The offset at which the bytes representing the data size starts, this is generally 1-3, depending on the tag length. |
◆ readEFCOM()
Retrieve the content of the EF.COM file.
This is a necessary step because it enumerates the others files present on the chip.
◆ readSOD()
Read the content of SOD, the area that contains hash value for the rest of the EPassport. It allows for verifying the integrity of the chip's content.
◆ selectApplication()
bool EPassCommands::selectApplication |
( |
const ByteVector & |
app_id | ) |
|
◆ selectIssuerApplication()
bool EPassCommands::selectIssuerApplication |
( |
| ) |
|
◆ setReaderCardAdapter()
void EPassCommands::setReaderCardAdapter |
( |
std::shared_ptr< ReaderCardAdapter > |
adapter | ) |
|
|
overridevirtual |
Set the reader/card adapter.
- Parameters
-
adapter | The reader/card adapter. |
Reimplemented from logicalaccess::Commands.
◆ crypto_
std::shared_ptr<EPassCrypto> logicalaccess::EPassCommands::crypto_ |
|
private |
◆ current_app_
ByteVector logicalaccess::EPassCommands::current_app_ |
|
private |
The identifier of the currently selected application.
This is a part of a hack. We ignore selectApplication if the we already have selected the one we want. Somehow, on some passport, this cause a failure.
The documentation for this class was generated from the following files:
- C:/dev/lla/liblogicalaccess/plugins/logicalaccess/plugins/cards/epass/epasscommands.hpp
- C:/dev/lla/liblogicalaccess/plugins/logicalaccess/plugins/cards/epass/epasscommands.cpp