Announce two new product: SmartCard Reader Rockey200 and USB2.0 Extension Cable

ROCKEY 200 is a handy and portable USB Smart Card reader that can perform read/write operations on any ISO 7816-1/2/3/4 smart cards which are compatible with protocol T=0 and T=1.

USB2.0 Extension Cable With high speed USB 2.0 devices such as USB token ,USB Card Reader and so on.

Come to try it 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: 102
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 2 guests

JavaCard OS : Disclaimer