java - Read smart card files -


i trying read smart card files , after long search can send apdu command select mf (master file) need access ef (elementary file) , here command i'm sending :

responseapdu r = channel.transmit(new commandapdu(new byte[] { 0x00,(byte) 0xa4, 0x00, 0x00, 0x02, 0x3f, 0x00 })); 

and here response :

6f 1c 82 01 38 83 02 3f 00 85 02 03 7f 86 0c 7f 7f 7f 7f 41 60 60 7f 7f 7f 60 00 8a 01 05 90 00 

i know got positif response 90 00 , next should in order access ef.

you need pick file , select same command. if google iso7816-4 find few sites describing read binary , read record commands. depending on file type selected. there not standard iso command listing dfs andd efs, though. try eficcid (2fe2 iirc) start, present in cards.


Comments

Popular posts from this blog

css - I want to align grid in center -

python - SWIG function not printing output -

oop - Function for all prototypes - Javascript -