SELECT APDU? How do I interprete this SW1 and SW2? HELP!
843851Sep 20 2007 — edited Sep 20 2007Hi,
Earlier today I had problems regarding communicating with my GemPlus PC430. I used OpenCard Framework. I've now discovered that Java 6 has support for smartcards through javax.smartcardio.*. I can now communicate with the cardreader/card, but when I do so I get the output shown be. How should I interpret the values of Select Resp and response.
Terminals: [PC/SC terminal Gemplus GemPC430 0]
card: PC/SC card in Gemplus GemPC430 0, protocol T=0, state OK
Select Resp: 6A 82
response: 6D 00
I use the following APDU's:
static byte[] selectUserApplet = new byte[] {(byte)0x00, (byte)0xA4, (byte)0x04, (byte)0x00, (byte)0x09, (byte)0xa0, (byte)0x0, (byte)0x0, (byte)0x0, (byte)0x62, (byte)0x3, (byte)0x1, (byte)0xc, (byte)0x5};
static byte[] getID = {(byte)0x80, (byte)0x02, (byte)0x00, (byte)0x00};
The AID is: 0xa0:0x0:0x0:0x0:0x62:0x3:0x1:0xc:0x5
The CLA is: 0x80
The INS is: 0x02
So - what is the 6A 82 and the 6D 00?
Thank you in advance...
Kind Regards
/Haber
Edited by: Haber on Sep 20, 2007 9:41 AM