Snit Mo wrote:
Hi,
I have a JavaCard whose key set has key set version = 0, and key index = 0.
I do not think so. Actually only key set versions / indexes between 1
and 0x7f are allowed. 0 means take the first available key set version
should be used. that is the reason that in mutual authentication almost
always 0 is used.
I would like to replace this key set, but according to OpenPlatform 2.0.1,
9.7 PUT KEY
...
The current key set version identifies a key set version that is
already present on the card. A value of '00' in the current key set
value indicates that a new key set version is being added.
But I do not want to add a new key set. I would like to replace the
existing key set (version 0). Is there any way to achieve this? Or
does OpenPlatform intend to make key set version 0 irreplaceable?
Some card have a special identifiers for GET DATA to obtain available
key set version and keys. (see get_key_information_templates()) Soem do
not support this (e.g. Cyberflex cards). Then you have to try, but I
would guess the first installed key set version is 1.
Karsten
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle