Ebrahim Ghasemi
Ebrahim Ghasemi

Reputation: 6116

how to delete card manager applet on the smart card?

I have a javacard and when I reset the card, all the applets on the card are cleared except one of them. and it is "Card manager applet" with "A0000000030000" as its AID. I want to know is there any way to delete this applet?! or it is mandatory on the card and there is no way to delete it? if it is possible to delete it, after deleting it, how we can work with the card? (installing another applet and so on) thank you.

Upvotes: 1

Views: 947

Answers (1)

Maarten Bodewes
Maarten Bodewes

Reputation: 93968

The card manager is the manager that handles the application management of the card. It also determines the card states. Normally you cannot remove the card manager, especially not through the card manager itself. If you can delete it, it should be through a proprietary API of the card manufacturer.

As a analogy: you are asking Windows or Linux to delete itself.


You can however put the card in TERMINATED state, after which it is effectively dead. You can even do this from an Applet, if it has the TERMINATE CARD privilege, which can be assigned during INSTALL for INSTALL when the Applet is instantiated. After this neither the Card Manager not the Applet will work though.

Upvotes: 5

Related Questions