Our Online Store have the new products: RFID antenna board. Currently it can work with JC10M24R and JCOP4 card chips.
Compared with normal cards, the antenna board module has a smaller size and fixed holes, which is easy to integrate in the IOT(Internet Of Things) project.

CLA byte of the select APDU command

JavaCard Applet Development Related Questions and Answers.
poinonche
Posts: 13
Joined: Wed May 10, 2017 11:10 pm
Points :170
Contact:

CLA byte of the select APDU command

Post by poinonche » Mon Jul 17, 2017 11:40 pm

Why can't I use 0xBC as the CLA byte of a select APDU command? I will get 6E 00 (SW_CLA_NOT_SUPPORTED) if I use 0xBC.
Is there any special requirement for CLA bytes?

User avatar
mabel
Posts: 237
Joined: Mon May 18, 2015 3:09 am
Points :1705
Contact:

Re: CLA byte of the select APDU command

Post by mabel » Tue Jul 18, 2017 3:13 am

SELECT APDU command 00 A4 04 00 is a standard APDU defined in ISO 7816-4 spec.

Regarding CLA bytes, you can check ISO 7816-4 spec to learn which values can be used as CLA.

tay00000
Posts: 161
Joined: Tue Sep 27, 2016 10:58 am
Points :2324
Contact:

Re: CLA byte of the select APDU command

Post by tay00000 » Tue Jul 18, 2017 7:54 am

Which card are you using when you do CLA = (byte) 0xBC ?

I have used CLA = (byte) 0xBC and CLA = (byte) 0xB0 and have never hit any problems on NXP JCOP, Feitian cards or any other cards for now.

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 66 guests

JavaCard OS : Disclaimer