MifareClassicKey Class Reference
MifareClassic key. More...
Classes | |
enum | KeyType |
MifareClassic key type. More... | |
Public Member Functions | |
KeyType | getType () |
int | getIndex () |
String | getKey () |
MifareClassicKey (KeyType type, int sector, String key) | |
Detailed Description
MifareClassic key
Constructor & Destructor Documentation
MifareClassicKey | ( | KeyType | type, |
int | sector, | ||
String | key | ||
) |
Constructor
- Parameters
-
type type of key sector sector of key. key string with hexadecimal characters as key as hex string, i.e. "FF00FF00FF00".Size must fix Mifare Classic key size specifications: 6 bytes (12 characters)
Member Function Documentation
int getIndex | ( | ) |
get index
- Returns
- index
String getKey | ( | ) |
get key
- Returns
- key
KeyType getType | ( | ) |
get type
- Returns
- type