Access to applet directly without choosing AID

Usually, when you turn on the JavaCard smart card and want to communicate with the applet, you must first select the applet using its AID.

Is there a way to get the "default applet" that is selected when the card is turned on?

What I really want to do is send the application level APDU right after selecting the card and not need the application selection process.

Is it possible? If so, how?

+4
source share
1 answer

- Java Card , , , , reset. , () ( , , , , ..).

, " " ( GP 2.1.1) " Reset" ( GP 2.2). 3 () . .

, , GlobalPlatformPro, --default ( ) --make-default <AID> ( ), .


, AID, SELECT APDU Applet#process method. Applet.selectingApplet, , AID.

+7

Source: https://habr.com/ru/post/1679705/


All Articles