You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

SectorDbo.h 469B

12345678910111213141516171819202122232425262728293031
  1. //
  2. // Created by robin on 7/22/16.
  3. //
  4. #ifndef MIFARE_TOOLS_SECTORDBO_H
  5. #define MIFARE_TOOLS_SECTORDBO_H
  6. #include <string>
  7. #include <DBO/Result.h>
  8. class SectorDbo
  9. {
  10. public:
  11. const std::string& getBlock(int block) const;
  12. std::string getKeyA() const;
  13. std::string getKeyB() const;
  14. std::string getAccessBits() const;
  15. static Result<SectorDbo> parse(std::string data);
  16. protected:
  17. std::string _blocks[4];
  18. };
  19. #endif //MIFARE_TOOLS_SECTORDBO_H