Christmas is coming!

To celebrate the new year and thank for the support from all our dear customers, Christmas promotional activity is being held in JavaCardOS online store.

During the event, you can enjoy many promotional activities - High Discount on JavaCardOS products,Lucky Draw,Double forum Points.

Come to choose your own Christmas gift and try your luck now!

How to get IC serial number from java card

JavaCard Applet Development Related Questions and Answers.
Kandhf
Posts: 5
Joined: Tue Apr 11, 2017 11:20 pm
Points: 72
Contact:

How to get IC serial number from java card

Postby Kandhf » Thu Oct 19, 2017 10:40 pm

Have anyone here succeeded in getting IC serial number from java card?

In the Card Specification 2.1:
GET_DATA APDU should response the Issuer Identification Number or Card Image number.


- GET_DATA Identification Number : 00 CA 00 42 00
- GET_DATA Card Image Number : 00 CA 00 45 00

But I only got the error code 6700. Could anyone give me some clues to help me out? Thanks.

User avatar
lostsiwonlw
Posts: 53
Joined: Fri Jul 31, 2015 9:09 pm
Points: 334
Contact:

Re: How to get IC serial number from java card

Postby lostsiwonlw » Fri Oct 20, 2017 6:04 am

Select the card manager and then send the below APDU to the card

init update
CLA INS P1 P2 Lc Data Le
>> 80 50 00 00 08 2021222324252627 00

Then bytes responseAPDU[4] - responseAPDU[7] are the serial number.
Searching for meaning...

stanneraustin
Posts: 6
Joined: Fri Jul 07, 2017 12:22 pm
Points: 98
Contact:

Re: How to get IC serial number from java card

Postby stanneraustin » Wed Nov 08, 2017 9:37 am

just for ICserial no need to use init update.. any wrong attempt or non successful external auth after this count as bad counter. maxim 10 allowed on older then card will be locked for ever.

use get CPLC data
80CA9F7F00

you will get all details here without init update.


Return to “Questions & Answers”

Who is online

Users browsing this forum: No registered users and 3 guests

JavaCard OS : Disclaimer