I'm confused about Get Response command. I thought I know it but actually I don't.
I wanna know the mechanism in which the card returns 1000-bytes data in case 4. I guess the command is as follows. Please let me know the correct one if it is wrong.
(Card) <== [CLA] [INS] [P1] [P2] [Lc] [Data] [Le] // response data size is 1000 bytes
(Card) ==> 6100
(Card) <== 00 C0 00 00 00
(Card) ==> [Data(256)] 6100
(Card) <== 00 C0 00 00 00
(Card) ==> [Data(256)] 6100
(Card) <== 00 C0 00 00 00
(Card) ==> [Data(256)] 61E8
(Card) <== 00 C0 00 00 E8
(Card) ==> [Data(232)] 9000 (61E8 was my mistake)
Questions
- Is the above APDU correct ?
- What is the [Le] in first command ?
- How to implement the GET RESPONSE in java applet ?
- How is the method to implement different according to T=0/T=1 card ? (When I googled, I saw the information about the T=0/T=1 card but I don't understand.)
I hope any response or URL of the related information.