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.

could somebody give me a intuitive description about APDU commands

JavaCard Applet Development Related Questions and Answers.
Dhawan
Posts: 3
Joined: Tue Sep 29, 2015 4:41 am
Points :0
Contact:

could somebody give me a intuitive description about APDU commands

Post by Dhawan » Tue Sep 29, 2015 5:21 am

Hey guys.
I am getting started with java card programming. But now i am a bit confused about APDU commands.

I also heard that ISO 7816-4 specifications describes the details about APDU command.
However, it's payware.

So, could somebody give me a intuitive description about APDU commands?
if anyone is willing to put his time in here to help me out, i would greatly appreciate it.

User avatar
Larson
Posts: 18
Joined: Wed May 20, 2015 3:56 am
Points :30
Contact:

Re: could somebody give me a intuitive description about APDU commands

Post by Larson » Thu Oct 08, 2015 5:18 am

An application protocol data unit (APDU) is the communication unit between a smart card reader and a smart card.
There are two categories of APDUs: command APDUs and response APDUs.
1.command APDU

The first four sections, CLA , INS , P1 and P2 are mandatory in all APDU commands and each one must be one byte length.
CLA --Instruction class - indicates the type of command
INS --Instruction code - indicates the specific command
P1-P2 --Instruction parameters for the command
Lc -- the number of bytes of command data to follow
Data field -- Lc bytes of data
Le --the maximum number of response bytes expected

2. response APDU

Data field -- the data returned to reader.
SW1 SW2 -- Command processing status, e.g. 90 00 indicates success.
You do not have the required permissions to view the files attached to this post. Please login first.

Dhawan
Posts: 3
Joined: Tue Sep 29, 2015 4:41 am
Points :0
Contact:

Re: could somebody give me a intuitive description about APDU commands

Post by Dhawan » Mon Oct 12, 2015 3:41 am

Thanks for your detailed reply.

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 16 guests

JavaCard OS : Disclaimer