288c2e5954
SIM/USIM tab (TS 102 221): - Record P2 modes: 04/06/02 -> 04/02/03; P1=00 for next/previous - SELECT Le rules: USIM FID no Le, path/dfname P2=04+Le; SIM no Le - Path placeholder: 3F007FFF6FC5 -> 7FFF6FC5 - ACTIVATE/DEACTIVATE: 5-byte -> 4-byte case-1 - VERIFY PIN: dedicated input, Lc=08, FF-pad to 8 bytes - CHANGE PIN: old/new inputs, Lc=10, two 8-byte fields - ERASE BINARY removed from USIM tab RAM tab (GPC v2.3): - INSTALL: all 5 variants rewritten to strict LV + Le 00 - ELF/Module AID inputs for install-install - Privileges: 1 byte if only byte-1, else 3 bytes - InstallParams: C9 00 + toolkit TLV (mandatory) - LOAD/DELETE/GET STATUS: append Le 00 - GET STATUS P2: drop 40/42, keep 02/03/00 - GET DATA: 2F00/5031 -> case-4 5C00 data - SET STATUS: raw AID (no 4F), ISD card states, P1=60 - EXT AUTH: CLA 84, P1 security level, Lc=10 - INT AUTH: CLA 00 Toolkit (TS 102 226): - MSL: 01 <msl> -> 00 (no check) or 02 01 <msl> - SIM CA wrapped in EF: C9 00 EF <len> CA... - TAR length %3 validation - Menu IDs <= 7F validation Script Chaining (TS 102 226 Table 5.9a): - Removed Script ID + Additional Data fields - Emit strictly 83 01 <flags> - Deleted generateScriptIdHint Privilege label: Token Verification -> Token Management