LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
logicalaccess::MifareUltralightUIDChangerCardService Class Reference

#include <mifareultralightuidchangercardservice.hpp>

Inheritance diagram for logicalaccess::MifareUltralightUIDChangerCardService:
logicalaccess::UIDChangerCardService logicalaccess::CardService

Public Member Functions

 MifareUltralightUIDChangerCardService (std::shared_ptr< StorageCardService > storage)
 
std::string getCSType () override
 
void changeUID (const ByteVector &new_uid) override
 
- Public Member Functions inherited from logicalaccess::UIDChangerCardService
 UIDChangerCardService (std::shared_ptr< Chip > chip)
 
virtual ~UIDChangerCardService ()=default
 
virtual void changeUID (const ByteVector &new_uid)=0
 
- 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< ChipgetChip () const
 
virtual CardServiceType getServiceType () const
 Get the card service type.
 

Private Attributes

std::shared_ptr< StorageCardServicestorage_
 

Additional Inherited Members

- Protected Attributes inherited from logicalaccess::CardService
std::shared_ptr< Chipd_chip
 Chip object.
 
CardServiceType d_serviceType
 Card service type.
 

Detailed Description

This service changes the UID of some MifareUltralight cards.

This service operates at high-level, and while it doesn't work against some reader (OK5321) it consist of normal block writing operation.

Constructor & Destructor Documentation

◆ MifareUltralightUIDChangerCardService()

MifareUltralightUIDChangerCardService::MifareUltralightUIDChangerCardService ( std::shared_ptr< StorageCardService storage)
explicit

This UID changer needs a Storage service to perform write operation against the card.

Member Function Documentation

◆ changeUID()

void MifareUltralightUIDChangerCardService::changeUID ( const ByteVector new_uid)
overridevirtual

◆ getCSType()

std::string logicalaccess::MifareUltralightUIDChangerCardService::getCSType ( )
inlineoverridevirtual

Member Data Documentation

◆ storage_

std::shared_ptr<StorageCardService> logicalaccess::MifareUltralightUIDChangerCardService::storage_
private

The documentation for this class was generated from the following files: