created common getKey method in INfcService