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
typetype of key
sectorsector of key.
keystring 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