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.

Question bout Secure Messaging

JavaCard Applet Development Related Questions and Answers.
NeinET
Posts: 8
Joined: Wed Dec 21, 2016 11:48 pm
Points :102
Contact:

Question bout Secure Messaging

Post by NeinET » Wed Jun 07, 2017 4:14 am

I tried to send APDU commands over secure message channel. The command has to be encrypted and the MAC has to be calculated.
For example, my off-card application sends this command to card.
0C8400000D9701088E08D23BE12D9B389CBD00

The card replies with the response that contains status word:
6985: Command not allowed - Conditions of use not satisfied.

I checked my code and I see that the method to which this command is sent does not throw such exception. Does anyone experience this?

Tarantino
Posts: 101
Joined: Wed Aug 19, 2015 1:56 am
Points :478
Contact:

Re: Question bout Secure Messaging

Post by Tarantino » Wed Jun 07, 2017 5:56 am

It seems that the default selected applet is trying to process the APDU.
Have you selected your applet firstly?
The greatest glory in living lies not in never falling, but in rising every time we fall.--Nelson Mandela

NeinET
Posts: 8
Joined: Wed Dec 21, 2016 11:48 pm
Points :102
Contact:

Re: Question bout Secure Messaging

Post by NeinET » Wed Jun 07, 2017 10:42 pm

Sorry, I forgot to select my applet first. How carelessness am I. It works now.

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 39 guests

JavaCard OS : Disclaimer