简体   繁体   中英

How to handle Non standard Apdu?

I've developed Java applet for old existing system. And I found the non ISO7816 apdu standard. Cla:0x80 Ins :0xFA When I processed this command the applet crashed. Is there any way to handle this case?

The only non-standard aspect is, that ISO 7816 does not define this command. Otherwise it surely is compliant with the standard in the sense that it does not violate it.

So your app seems at fault by incorrectly handling that scenario (like issuing SW_INS_NOT_SUPPORTED for all commands not recognized).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM