JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html

How to get key set version number

JavaCard Applet Development Related Questions and Answers.
Jsine
Posts: 10
Joined: Mon Mar 14, 2016 5:12 am
Points :106
Contact:

How to get key set version number

Post by Jsine » Thu Apr 06, 2017 10:23 pm

I would like to know how to get default key set version number. Is there any method?

User avatar
UNKNwYSHSA
Posts: 630
Joined: Thu May 21, 2015 4:05 am
Points :3055
Contact:

Re: How to get key set version number

Post by UNKNwYSHSA » Thu Apr 06, 2017 10:49 pm

Send command INITIALIZE UPDATE, the response contains the key infromation includes the key version number.
sense and simplicity

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

Re: How to get key set version number

Post by Tarantino » Fri Apr 07, 2017 6:18 am

Just supplement what UNKNwYSHSA said, in the INITIALIZE UPDATE command, reference control parameter P1 is Key Version Number.
If this value is set to zero, the first available key chosen by the Security Domain will be used. It means that the default key version number will be returned.
The greatest glory in living lies not in never falling, but in rising every time we fall.--Nelson Mandela

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 58 guests

JavaCard OS : Disclaimer