public TLVObject ReadRecord(byte sfi, byte record, out ushort sw12) { var apdu = new APDUMessage { Class = 0x00, Instruction = 0xB2, //READ RECORD Param1 = record, Param2 = (byte)((sfi << 3) | 4) }; return(Reader.SendAPDU(apdu, out sw12)); }
public TLVObject SelectApplication(byte[] identifier) { var apdu = new APDUMessage { Class = 0x00, Instruction = 0xA4,//SELECT Command Param1 = 0x04, Param2 = 0x00, Data = identifier }; return(Reader.SendAPDU(apdu)); }
public TLVObject GetProcessingOptions(byte[] data, int outlength = 128) { var apdu = new APDUMessage { Class = 0x80, Instruction = 0xA8, //READ RECORD Param1 = 0x00, Param2 = 0x00, Data = data, ExpectedResponseLength = outlength }; return(Reader.SendAPDU(apdu)); }