In order to thank you for all members' support of our website, we are holding new events - Getting Free Samples by Paying Freight only.
Want to get free samples? Please check this post for more details.

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

Post by 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

Post by 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 :102
Contact:

Re: How to get IC serial number from java card

Post by 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.

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 3 guests

JavaCard OS : Disclaimer