Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lc = 0x00 is not allowed according to ISO7816-4 and should not work on any card or simulation. Your command is malformed. #189

Closed
marshaltang opened this issue Jul 22, 2022 · 2 comments

Comments

@marshaltang
Copy link

Lc = 0x00 is not allowed according to ISO7816-4 and should not work on any card or simulation. Your command is malformed.

Originally posted by @paulbastian in #119 (comment)

is it possible to support case2-ext mode APDU ? where Lc = 00, Le has 2 bytes

@marshaltang
Copy link
Author

@paulbastian
Copy link

You should check the meanings of NC und LC,respectively NE und LE. If LC is present, it is never 0x00. Read here: https://docs.oracle.com/en/java/javacard/3.1/guide/extended-apdu-format.html#GUID-0F452782-9402-43E9-B39C-337772C200DF

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants