How to get card sequence number from inside card applet

Applets Development Guide

Moderator: product

callmeuvn
Posts: 5
Joined: Tue Apr 14, 2020 8:59 am
Points :172
Contact:

How to get card sequence number from inside card applet

Post by callmeuvn » Wed Jul 15, 2020 10:02 pm

Dear all,

My java card applet running on Global Platform 2.1.1. And I want to implement some codes in the the applet for doing some encryption using card sequence number.
Could someone please tell me how to get card sequence number from inside applet (Not from off-card side/terminal side).

Thank you very much.

kuafu
Posts: 268
Joined: Thu Jun 25, 2015 2:09 am
Points :3279
Contact:

Re: How to get card sequence number from inside card applet

Post by kuafu » Sat Jul 18, 2020 3:07 am

Ask the producer who produce the card applet.
well

callmeuvn
Posts: 5
Joined: Tue Apr 14, 2020 8:59 am
Points :172
Contact:

Re: How to get card sequence number from inside card applet

Post by callmeuvn » Sat Jul 18, 2020 5:14 am

The applet is not coming from the card producer. It is developed by me.
Thanks you for your answer.

kuafu
Posts: 268
Joined: Thu Jun 25, 2015 2:09 am
Points :3279
Contact:

Re: How to get card sequence number from inside card applet

Post by kuafu » Sat Jul 18, 2020 5:19 am

It's better. You can write a card sequence number which managed by you when you install applet. And you can get it with your way.


Card sequence number is just an identification.
well

callmeuvn
Posts: 5
Joined: Tue Apr 14, 2020 8:59 am
Points :172
Contact:

Re: How to get card sequence number from inside card applet

Post by callmeuvn » Sat Jul 18, 2020 10:55 am

Thank you very much for your answer.
And what is about CPLC - card production life cycle?, how can I get this value from inside applet?.

kuafu
Posts: 268
Joined: Thu Jun 25, 2015 2:09 am
Points :3279
Contact:

Re: How to get card sequence number from inside card applet

Post by kuafu » Sat Jul 18, 2020 7:46 pm

google it . It's easy to get the answer. https://stackoverflow.com/questions/178 ... d/18097217
well

callmeuvn
Posts: 5
Joined: Tue Apr 14, 2020 8:59 am
Points :172
Contact:

Re: How to get card sequence number from inside card applet

Post by callmeuvn » Mon Jul 20, 2020 4:29 am

In fact, I want to retrieve the data of CPLC - card production life cycle from inside applet, not from off-card side.
Do you have any recommendation?.

Thank you very much for your answer.

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 6 guests

JavaCard OS : Disclaimer