OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
[Muscle] ICC Type based on ATR Sequence

From: Igor Medeiros (medeiroslsi.usp.br)
Date: Thu Feb 02 2006 - 06:28:53 CST


Hello All,

Looking at the PC/SC specification I noticed a field at the table 3-2,
"codes for enumerating ICC State" at PC/SC 1.0 Part 3, Session 3.1.4.

How is it possible to obtain the ICC Type based on ATR sequence?

Could someone be so kind as to help me with this?

I´m using the jpcsc lib to obtain this states and I´m able to obtain the
other fields from the table in this manner:

card = ctx.Connect(reader, PCSC.SHARE_SHARED, ALL_PROTOS);

            State state = card.Status();
            
txtReaderState.setText(eventReaderStateToString(state.dwCurrentState));

            Console.log(txtConsole_,
                    " \nState of interface: 0x"
                            + Integer.toHexString(state.dwCurrentState)
+ " ("
                            +
currentReaderStateToString(state.dwCurrentState)
                            + ")\n");

Thanks in advance

Regards,

Igor Medeiros

_______________________________________________
Muscle mailing list
Musclelists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle