Home > Back-end >  Be achieved
Be achieved

Time:10-06

The ICC - PSAM APDU:
System startup, SAM card complete restoration, terminal number, choose application:
SAM card reset;
00 b0960006 readout 6 bytes terminal serial number;
00 a4000002df01
The OBU in and out of the driveway process:
The ICC reset;
ICC choice application: 00 a4000002df01 return data, 23 to 52 bytes 0015 file content, 35-40 bytes is 8 bytes card number,
Judge the card type;
The ICC to read basic information file fee: 00 b201cc27, return 0019 file data
The ICC to read balance (the CARDS into the driveway to use only) : 805 c000204
ICC composite consumption initialization: 805003020 b + (one byte key identifier) 01 transaction amount + 6 + 4 bytes byte terminal number return 9000
Return data: 4 byte old balance + 2 electronic wallet offline transaction serial number + 3 bytes overdraft limit + 1 byte key version number + 1 algorithm
Logo + 4 bytes pseudo-random number
The ICC composite consumption write 0019 files: 80 x24 dcaac827aa2500 + 0 bytes (basic information file charges)
PSAM MAC1 calculation: 8070000024 + 4 bytes random number + 2 user card offline transaction serial number + 4 byte transaction amount + 1 hand in
Easy type identification "09" + 7 bytes trading time date + 1 byte consumption key version + 1 algorithm identification card serial number + 8 + 8 bytes byte area
Domain scattered code (Beijing B1B1BEA9 B1B1BEA9), return to terminal offline transaction serial number + 4 bytes 4 bytes MAC1
ICC compound consumption: 805401000 f + 4 bytes terminal serial number + 7 bytes transaction date/time + 4 bytes MAC1, such as trading success
Return to 4 bytes TAC MAC2 4 bytes
SAM card check MAC2:8072000004 + 4 bytes MAC2, such as right back to 9000, completed
Description:
There is discrepancy lane 0 compound consumption;
Stored-credit 0 compound consumption into the lane, lane according to the charges made composite consumption;

CodePudding user response:

  • Related