Just tried to test a simple Java Card STK applet on (U)SIM cards, it was easy to prepare the applet, but it is tricky to convert to cap file and download to the real cards.
I was trying to find out the detail of ISO7816-3 Protocol T = 1, the biggest problem is it’s hard to find T = 1 smart card sample, so I cannot do the test and experiment to find out and understand the detail.
Problem / Requirement: You have a JavaCard and have full access to it, you want to know how much user space, or how much memory left for you to use?
ISO7816-3 describes smart card electric signals and transmission protocols, the detail can refer to the spec, below are some examples about for better understanding about the spec, 1, ATR and Baud Rate my Singapore cash card ATR “3B2A00806524B0000200829000” 3B = TS – (H) LHHL HHH LLH sets up the direct convention 2A = T0, includes Y1 = bit8 to bit5 value as 2, bit wise as 0010, means only TB1 exists, and K as bit4 to bit1 value as 0x0A, history bytes length 0x0A.
Just implemented a customer requirement of a Windows software development on the GP external authentication and check the card life cycle status, this will need the GP external authentication and the MAC sending APDU.