#include <identity_service.hpp>
◆ MetaData
Enumerator |
---|
DOC_NO | The document number. It is retrieved as a std::string
|
NAME | Name of the person whose identity information is stored on the chip.
|
NATIONALITY | Nationality of the card holder. For EPassport this is a 3 letter country code.
|
PICTURE | Binary data representing a facial picture of the card holder.
The format of this image is not specified at this API level and is dependant on the type of the underlying card.
|
BIRTHDATE | Date of birth, as a std::chrono::system_clock::time_point
|
EXPIRATION | Expiration date of the document, as a std::chrono::system_clock::time_point
|
◆ IdentityCardService()
IdentityCardService::IdentityCardService |
( |
std::shared_ptr< Chip > |
chip | ) |
|
|
explicit |
◆ ~IdentityCardService()
virtual logicalaccess::IdentityCardService::~IdentityCardService |
( |
| ) |
|
|
virtualdefault |
◆ getData()
◆ getString()
virtual std::string logicalaccess::IdentityCardService::getString |
( |
MetaData |
what | ) |
|
|
pure virtual |
◆ getTime()
virtual std::chrono::system_clock::time_point logicalaccess::IdentityCardService::getTime |
( |
MetaData |
what | ) |
|
|
pure virtual |
◆ setAccessInfo()
void IdentityCardService::setAccessInfo |
( |
std::shared_ptr< AccessInfo > |
ai | ) |
|
Provide an AccessInfo that will be used by underlying implementation to authenticate against the chip.
As an example, the EPassport Identity Service expect to find an EPassAccessInfo and will extract MRZ information from it.
◆ access_info_
std::shared_ptr<AccessInfo> logicalaccess::IdentityCardService::access_info_ |
|
protected |
AccessInfo that may be used by underlying implementation to gather whatever data they may need to perform various operation.
The documentation for this class was generated from the following files: