|
LibLogicalAccess
2.5.0
An Open Source RFID Library
|
#include <desfire_json_dump_card_service.hpp>
Public Member Functions | |
| ~DESFireJsonDumpCardService () | |
| DESFireJsonDumpCardService (const std::shared_ptr< Chip > &chip) | |
Public Member Functions inherited from logicalaccess::JsonDumpCardService | |
| virtual | ~JsonDumpCardService () |
| JsonDumpCardService (const std::shared_ptr< Chip > &chip) | |
| std::string | getCSType () override |
| void | configure (const std::string &json_template) |
| std::string | dump () |
Public Member Functions inherited from logicalaccess::CardService | |
| virtual | ~CardService ()=default |
| CardService (std::shared_ptr< Chip > chip, CardServiceType serviceType) | |
| Constructor. | |
| virtual std::string | getCSType ()=0 |
| std::shared_ptr< Chip > | getChip () const |
| virtual CardServiceType | getServiceType () const |
| Get the card service type. | |
Private Member Functions | |
| std::shared_ptr< Key > | create_key (const nlohmann::json &key_description) override |
| void | configure_format_infos (const nlohmann::json &json) override |
Additional Inherited Members | |
Public Attributes inherited from logicalaccess::JsonDumpCardService | |
| std::map< std::string, std::shared_ptr< Format > > | formats_ |
| std::map< std::string, std::shared_ptr< Key > > | keys_ |
| std::map< std::string, std::shared_ptr< FormatInfos > > | format_infos_ |
Static Public Attributes inherited from logicalaccess::JsonDumpCardService | |
| static constexpr const CardServiceType | service_type_ = CST_JSON_DUMP |
Protected Attributes inherited from logicalaccess::CardService | |
| std::shared_ptr< Chip > | d_chip |
| Chip object. | |
| CardServiceType | d_serviceType |
| Card service type. | |
| logicalaccess::DESFireJsonDumpCardService::~DESFireJsonDumpCardService | ( | ) |
|
explicit |
|
overrideprivatevirtual |
Populate the format_infos_ map. The subclass is expected to parse the provided JSON and create corresponding FormatInfo with proper Format, Location and AccessInfo.
Implements logicalaccess::JsonDumpCardService.
|
overrideprivatevirtual |
Create a properly typed key object that can be used against the given card.
Implements logicalaccess::JsonDumpCardService.
1.9.6