indentSelect indent level

parsingData parsing available for authorised users.
APDU parser support two variants of smatcard log traces:
- SmartSpy Level 1 files by ICC Solutions / FIME;
- Basic script with ATR and APDU Command Request/Response;


1) SmartSpy Level 1 lines example
---==============================
*level 1 trace
*File name : [filename]
*Date : [datetime]
*Start of log file
Acquisition 1
ATR - 3B 6F 00 00 80 31 E0 6B 05 12 05
***** 02 87 55 55 55 55 55 55
IFD - 00 A4 04 00 0E
ICC - A4
IFD - 31 50 41 59 2E 53 59 53 2E 44 44 46 30 31
ICC - 61 17
...
*End of log file
*Checksum: [checksum]
---

Supported lines:
- 'ATR -' - ATR hexadecimal data.
- 'IFD -' - Device Request hexadecimal data.
- 'ICC -' - Smartcard Response hexadecimal data.
- '*****' - continue previous data block.

The rest of lines be excluded.


2) GPShell script log example
---==========================
enable_trace
establish_context
card_connect 
select -AID A0000*****0000
Command --> 00A4040007A0000*****0000
Wrapped command --> 00A4040007A0000*****0000
Response <-- 6F658408A0000*****000000A559734A06072A864886FC6B01600C060A2A864886FC6B0202*********6072A864886FC6B03640B06092A864886FC6B040255650B06092B8510***********3660C060A2B060104012A026E01029F6E0619*******1009F6501FF9000
send_apdu -APDU 80CA9F7F00
Command --> 80CA9F7F00
Wrapped command --> 80CA9F7F00
Response <-- 9F7F2A4090*******************2027B384D0109************************0000C1190***************9000
send_APDU() returns 0x80209000 (9000: Success. No error.)
card_disconnect
release_context
---

Supported lines:
- 'card_connect' - New session with card.
- 'Command -->' - APDU Request hexadecimal string.
- 'Response <--' - APDU Response hexadecimal string.

The rest of lines be excluded.

Spaces withing Hexadecimal string will be excluded.
Unsupported APDU Instructions (INS) will not be processed and will be excluded too.


3) APDU script lines example
---=========================
? 3B6F00008031E06B0512**************5555

> 00A404000E
> 315041592E5359532E4444463031
< 6117
...
---

Supported lines:
- '?' - ATR hexadecimal string.
- '>' - APDU Request hexadecimal string.
- '<' - APDU Response hexadecimal string.

The rest of lines be excluded.

Spaces withing Hexadecimal string will be excluded.
Unsupported APDU Instructions (INS) will not be processed and will be excluded too.

Good luck.
Supported commands (CLA+INS):
  00A4: VIPA, Select File
  00A5: VIPA, Stream Upload
  00AA: VIPA, Rename Binary
  00AB: VIPA, Delete Binary
  00B0: VIPA, Read Binary
  00B1: VIPA, Fast File Read
  00C0: VIPA, Get Binary Status
  00C3: VIPA, Find First File
  00C4: VIPA, Find Next File
  00CA: VIPA, Get Data
  00D0: VIPA, Free Space
  00D6: VIPA, Update Binary
  00DA: VIPA, Put Data
  C000: VIPA, Get Contactless Status
  C001: VIPA, Open and Initialise Contactless Reader
  C002: VIPA, Close Contactless Reader
  C010: VIPA, Emit tone and lit LEDs
  C0A0: VIPA, Start Contactless Transaction
  C0A1: VIPA, Continue Contactless Transaction
  C0C0: VIPA, Cancel Contactless Transaction
  C0FD: VIPA, Contactless Passthrough Init/Deinit
  C0FE: VIPA, Contactless Passthrough
  C0FF: VIPA, Upgrade Firmware
  C40A: VIPA, Update Key
  C410: VIPA, Set Security Configuration
  C411: VIPA, Get Security Configuration
  C420: VIPA, Generate MAC
  C421: VIPA, Verify MAC
  C422: VIPA, Generate HMAC
  C425: VIPA, Encrypt Data
  C426: VIPA, Decrypt Data
  C500: VIPA, Generate Session Key
  C501: VIPA, Validate ARS password
  C502: VIPA, Set new ARS password
  C506: VIPA, Get VF Certificate
  C507: VIPA, Store Auxiliary Certificate
  C50A: VIPA, Start NS Authentication
  C50B: VIPA, Finalize NS Authentication
  D000: VIPA, Reset Device
  D001: VIPA, Configure File Versions
  D003: VIPA, Disconnect
  D004: VIPA, Start Upgrade
  D005: VIPA, Dump Logs
  D006: VIPA, Ux Remote Sysmode
  D00A: VIPA, Extended Software Reset Device
  D05E: VIPA, Ux LED Control
  D05F: VIPA, Power Down ICC chip
  D060: VIPA, Card Status
  D061: VIPA, Key Board Status
  D062: VIPA, Battery Status
  D063: VIPA, Power Management
  D064: VIPA, Log Configuration
  D070: VIPA, Manage Display Contract
  D0B1: VIPA, Read Barcode
  D0FF: VIPA, Abort
  D111: VIPA, Memory Card Read
  D112: VIPA, Memory Card Write
  D113: VIPA, Memory Card Update
  D120: VIPA, I2C Read
  D121: VIPA, I2C Write
  D201: VIPA, Display
  D202: VIPA, Display text
  D203: VIPA, Request Choice
  D204: VIPA, Get Numeric Data
  D205: VIPA, Set Display Configuration
  D210: VIPA, Display Bitmap
  D214: VIPA, Manual PAN Entry
  D2A1: VIPA, Print Data
  D2A2: VIPA, Print Bitmap
  D2A3: VIPA, Print Barcode
  D2A4: VIPA, Get Printer Status
  D2D0: VIPA, Select Language
  D2E0: VIPA, Display HTML
  D2F1: VIPA, Get Alphanumeric Data
  D2F3: VIPA, Password Entry
  DD00: VIPA, VSP Status
  DD01: VIPA, VSP Last Encrypted Status
  DD10: VIPA, Get/Set Date Time
  DD20: VIPA, Get SRED Status
  DD21: VIPA, Authenticate
  DD22: VIPA, Authenticate Verify
  DD23: VIPA, Generate RSA Key
  DD25: VIPA, ABSA 9 Digits Authorization
  DDD0: VIPA, Start TGK Process
  DDD2: VIPA, Continue TGK Process
  DDDD: VIPA, TGK Status
  DE01: VIPA, Get EMV Hash Value
  DED1: VIPA, Start Transaction
  DED2: VIPA, Continue Transaction
  DED5: VIPA, Verify PIN
  DED6: VIPA, Online PIN
  DED7: VIPA, Atomic Verify PIN
  DED8: VIPA, Verify External PIN