JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html
https://ftsafe.en.alibaba.com/index.html
Application deselect
Application deselect
Can we deselect the currently running applet without selecting the other one?
If so,how i can perform this?
TIA.
If so,how i can perform this?
TIA.
-
- Posts: 5
- Joined: Thu May 17, 2018 11:04 am
- Points :40
- Contact:
Re: Application deselect
This question is good, I also want to know. If from the terminal side, the only thing needs to do is send some APDUs(I am not sure, but it should be). But if in applet internal codes, how to do it?
-
- Posts: 55
- Joined: Thu Sep 22, 2016 5:05 am
- Points :784
- Contact:
Re: Application deselect
You can send the command of manage channel to close the channel of the application. The method of deselect is called when a SELECT APDU command or a Manage CHANNEL CLOSE APDU command is received by the Java Card runtime environment.
-
- Posts: 5
- Joined: Thu May 17, 2018 11:04 am
- Points :40
- Contact:
Re: Application deselect
That means applet can call the method of deselect by itself...
Re: Application deselect
Directly calling the deselect() is not working for me and i also don't want to send any APDU command for either SELECT or MANAGE CHANNEL CLOSE.
Is there any other way to deselet the applet without sending APDU commands?
Is there any other way to deselet the applet without sending APDU commands?
-
- Posts: 55
- Joined: Thu Sep 22, 2016 5:05 am
- Points :784
- Contact:
Re: Application deselect
vikas wrote:Directly calling the deselect() is not working for me and i also don't want to send any APDU command for either SELECT or MANAGE CHANNEL CLOSE.
Is there any other way to deselet the applet without sending APDU commands?
Cold reset or hot reset.
Re: Application deselect
wumindejia wrote:vikas wrote:Directly calling the deselect() is not working for me and i also don't want to send any APDU command for either SELECT or MANAGE CHANNEL CLOSE.
Is there any other way to deselet the applet without sending APDU commands?
Cold reset or hot reset.
sorry i didn't get this.Can u elaborate.
-
- Posts: 5
- Joined: Thu May 17, 2018 11:04 am
- Points :40
- Contact:
Re: Application deselect
I think his meaning may be is to unplug the card from the reader by hand or trigger a warm reset by software(disconnect parameter).
It's time to read the Java Card Run Time Environment specification again. Perhaps there is an answer in the reference implementation.
It's time to read the Java Card Run Time Environment specification again. Perhaps there is an answer in the reference implementation.
Re: Application deselect
no actually i am just implementing some code an i am not involved with any card rt now.
I just want to deselect the currently running Applet without sending any APDU's command.
so, i need some code or any logic to do this.
I just want to deselect the currently running Applet without sending any APDU's command.
so, i need some code or any logic to do this.
-
- Posts: 55
- Joined: Thu Sep 22, 2016 5:05 am
- Points :784
- Contact:
Re: Application deselect
vikas wrote:no actually i am just implementing some code an i am not involved with any card rt now.
I just want to deselect the currently running Applet without sending any APDU's command.
so, i need some code or any logic to do this.
Sorry, i don't know.
Who is online
Users browsing this forum: Bing [Bot] and 60 guests