mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-09-28 15:06:33 +03:00
6076e4e6ff
Adds TS 102 226 tables 5.2a/5.10a indefinite length coding, recommended by TS 102 226 5.2.1 for RAM/RFM over HTTPS. Noteworthy notable things to note: - encode_expanded_cmd() indefinite version -> inner C-APDU TLVs are still definite - decode_expanded_resp()s returned container does not care, but Indef has no 'number of executed commands' TLV -> number_of_commands is the R-APDU count. Tests are being fed with some known-good values from my sja5 sessions. Change-Id: I4e023112e98729489ed443eec3ed5ab45c773b17