1#ifndef LIBLOGICALACCESS_ATRPARSER_HPP
2#define LIBLOGICALACCESS_ATRPARSER_HPP
26 static std::string guessCardType(
const ByteVector &atr,
28 static std::string guessCardType(uint8_t *atr,
size_t atrlen,
35 static std::string guessCardType(
const std::string &atr_str,
41 static std::string guessCardType(
const ByteVector &atr);
42 static std::string guessCardType(uint8_t *atr,
size_t atrlen);
48 static std::string guessCardType(
const std::string &atr_str);
51 std::string parse(
bool ignore_reader_type,
53 std::string check_hardcoded(
bool ignore_reader_type,
56 std::string check_from_atr()
const;
57 std::string check_generic_from_atr()
const;
62 static std::string atr_x_to_type(uint8_t code);
69 void register_hardcoded_atr(
const std::string &atr,
const std::string &card_type,
75 void register_hardcoded_atr(
const std::string &atr,
const std::string &card_type);
Definition: atrparser.hpp:19
std::map< ByteVector, ATRInfo > hardcoded_atr_to_type_
Definition: atrparser.hpp:93
ByteVector atr_
Definition: atrparser.hpp:87
std::vector< uint8_t > ByteVector
Definition: lla_fwd.hpp:80
PCSCReaderUnitType
The reader unit types.
Definition: pcscreaderunitconfiguration.hpp:54
PC/SC Reader unit configuration.
Definition: atrparser.hpp:78
std::vector< PCSCReaderUnitType > reader_type
Definition: atrparser.hpp:84
std::string card_type
Definition: atrparser.hpp:79