What is the meaning of 6E 00 when I send a command to a SmartCard

て烟熏妆下的殇ゞ 提交于 2019-12-05 09:27:41

According to ISO 7816-4 0x6E00 means "Class not supported".

Are you using the correct CLA value in the APDU?

The class (CLA) byte is usually 0x00, 0xA0, 0xC0 or 0xF0 and sometimes masked with 0x0C that indicates Secure Messaging on some cards. AFAIK, the only invalid CLA value is 0xFF.

But this varies from one card to another, do you have the card specification from the vendor?

It means "Wrong Instruction Class". Maybe it's just the wrong type of card?

http://tools.ietf.org/html/draft-urien-eap-smartcard-05

The BasicCard PDF manual has a list of error codes on page 152-153.

The one you got they describe as "CLA byte of command not recognized".

"6A 86" is likely the response to a card specific command and I dont see it in the BasicCard list.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!