|
LibLogicalAccess
2.5.0
An Open Source RFID Library
|
The base access control card service class for all access control services. More...
#include <accesscontrolcardservice.hpp>
Public Member Functions | |
| AccessControlCardService (std::shared_ptr< Chip > chip) | |
| Constructor. | |
| virtual | ~AccessControlCardService () |
| Destructor. | |
| std::string | getCSType () override |
| virtual std::shared_ptr< Format > | readFormat (std::shared_ptr< Format > format, std::shared_ptr< Location > location, std::shared_ptr< AccessInfo > aiToUse) |
| Read format from the card. | |
| SignatureResult | IKS_getPayloadSignature () const |
| virtual bool | writeFormat (std::shared_ptr< Format > format, std::shared_ptr< Location > location, std::shared_ptr< AccessInfo > aiToUse, std::shared_ptr< AccessInfo > aiToWrite) |
| Write format to the card. | |
| virtual FormatList | getSupportedFormatList () |
| Get the supported format list. | |
| FormatList | getHIDWiegandFormatList () const |
| Get the HID Wiegand format list. | |
| virtual ByteVector | getPACSBits (PACS_EXTRACTION_MODE) |
| virtual void | writePACSBit (const ByteVector &pacsbits) |
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. | |
Static Public Attributes | |
| static constexpr const CardServiceType | service_type_ = CST_ACCESS_CONTROL |
Protected Attributes | |
| SignatureResult | last_signature_ |
Protected Attributes inherited from logicalaccess::CardService | |
| std::shared_ptr< Chip > | d_chip |
| Chip object. | |
| CardServiceType | d_serviceType |
| Card service type. | |
The base access control card service class for all access control services.
|
explicit |
Constructor.
| chip | The associated chip. |
|
virtual |
Destructor.
|
inlineoverridevirtual |
| FormatList logicalaccess::AccessControlCardService::getHIDWiegandFormatList | ( | ) | const |
Get the HID Wiegand format list.
|
inlinevirtual |
Retrieve the Physical Access Control bits. This generally relies on the PCSC reader to provide support.
|
virtual |
Get the supported format list.
Reimplemented in logicalaccess::ProxAccessControlCardService, and logicalaccess::TwicAccessControlCardService.
|
inline |
IKS Related call.
This is when IKS sign decrypted packet as a proof that they were read using a DESFire Session Key stored on IKS.
|
virtual |
Read format from the card.
| format | The format to read. |
| location | The format location. |
| aiToUse | The key's informations to use. |
Reimplemented in logicalaccess::GenericTagAccessControlCardService, logicalaccess::ProxAccessControlCardService, and logicalaccess::TwicAccessControlCardService.
|
virtual |
Write format to the card.
| format | The format to write. |
| location | The format location. |
| aiToUse | The key's informations to use. |
| aiToWrite | The key's informations to write. |
Reimplemented in logicalaccess::GenericTagAccessControlCardService, logicalaccess::ProxAccessControlCardService, and logicalaccess::TwicAccessControlCardService.
|
inlinevirtual |
Write PACSbit onto a card.
This method is geared toward SEos, and will write to standard PACS ADF.
|
protected |
|
staticconstexpr |
1.9.6