From: Karsten O. <wid...@t-...> - 2017-03-06 16:45:55
|
Hi, * Is it right? Can the JCRE invoke any method (in the API) of any applet (even if the applet doesn't implements the RMI interface) with the INVOKE APDU? o If it can't invoke those methods with the INVOKE APDU, can it invoke the methods with other APDU? The JCRE is the runtime environment (RE!). It can do whatever it wants with any applet, manipulate the byte code, the memory, everything. Of course it can invoke also all methods. It can invoke it directly. It is not necessary to use some external protocols. Like a Java Standard edition can do it. * How can I send an APDU to the JCRE directly and not to the selected application? AFAIR the JCRE offers some management functions like selecting an applet and routing it. It can also act as the central command dispatcher. Maybe also installation support is included. Look into the JCRE specification. This should also answer all other questions. * Can someone please give me an example of the INVOKE APDU? Never used it. Not sure it this technology is still alive. BR, Karsten Am 06.03.2017 um 15:30 schrieb גל ברק: > Hello everyone, > > I'm not sure if this is the right spot to ask to following question. > If not it will be awesome if someone can redirect me to other mailing > list or forum. > > AFAIK, most if not all of the UICC are Java cards. Therefore, it has > JCRE and JCVM. > > According to the Oracle's Java Card Platform Specification it is > possible to invoke methods remotely using the INVOKE APDU if the > applet has a remote interface. > > But I read (I'm sorry I don't remember where) that the JCRE can invoke > any method of the Java card API of any applet. > > So my questions are : > > * Is it right? Can the JCRE invoke any method (in the API) of any > applet (even if the applet doesn't implements the RMI interface) > with the INVOKE APDU? > o If it can't invoke those methods with the INVOKE APDU, can it > invoke the methods with other APDU? > * How can I send an APDU to the JCRE directly and not to the > selected application? > * Can someone please give me an example of the INVOKE APDU? > > Thanks for the responders! :) > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > > _______________________________________________ > Globalplatform-developers mailing list > Glo...@li... > https://lists.sourceforge.net/lists/listinfo/globalplatform-developers |