Question

I have obtained a bunch of SmartMX dual interface cards from NXP, and have downloaded and setup JCOP Tools. While migrating my Java Card Applet from NetBeans to Eclipse has been rather easy, installing the compiled applet on the cards themselves has proved rather difficult. I can not select the Security Domain Applet on these sample cards. I believe this has something to do with the state the cards are in, as NXP has provided me with a Transportation Key and has strictly forbidden the cards to leave my premise without first being somehow fused. I have worked with ACS cards (ACOS3, namely) and guess these SmartMX cards are in a state of their lifecycle which does not allow applet upload and/or personalization. My problem is, I have been unable to find the documentation regarding JCOP lifecycle on NXP DocStore and the web. The only document which comes close to describing what I'm looking for is a PDF titled GlobalPlatform Card Specification 2.2, which says cards compatible with GP 2.2 have at least 5 different states: OP_READY, INITIALIZED, SECURED, CARD_LOCKED, and TERMINATED. That document does not specify the use of Transportation Key.

My question is, how does one use this Transportation Key to change the status of card from OP_READY to either INITIALIZED or SECURED?

Était-ce utile?

La solution

You can only use the transport key as long as the card is not booted. You should use the transportkey as AID in a SELECT by NAME command APDU.

It is possible to run the /identify in JCOP shell to see if card is fused or not If the card is fused then the /select [Transportkey] will return with a status word indicating failure.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top