// // Created by robin on 7/22/16. // #ifndef MIFARE_TOOLS_FREEFARETAGBUSINESS_H #define MIFARE_TOOLS_FREEFARETAGBUSINESS_H #include #include class FreeFareTagBusiness { public: FreeFareTagBusiness(std::shared_ptr tag); ResultBool authenticate(int sector, int block, std::string key, int keyType); ResultString readBlock(int sector, int block, std::string key, int keyType); ResultString readSector(int sector, std::string key, int keyType); const std::string & getUid() const; std::shared_ptr getTag() const; protected: std::shared_ptr _tag; }; #endif //MIFARE_TOOLS_FREEFARETAGBUSINESS_H