2 Replies Latest reply on Aug 10, 2014 10:31 AM by owlstead

    Native java method in javacard




      Now, I want use native java method in java card, please to help me.

      I can control my card: load, install and delete applet on card.


      Thanks & Best Regards,

      Kelvin Nguyen

        • 1. Re: Native java method in javacard



          in case you did not read the javacards specs yet: it is simply not possible, even if you cry. Yup.


          Native methods for javacards cannot be written by javacard users, only by the Card OS manufacturer.



          • 2. Re: Native java method in javacard

            It is not possible unless the Java Card platform provides some proprietary break-out ability.


            Some cards may offer you such capabilities, but most of the time it won't be easy to access them directly. If they do they may be constrained, or you may need additional keys, sign an NDA etc. If you are big or interesting enough of course, doors that are closed to others may open. Beware though that altering the system in such a way may seriously complicate certification of the product, especially for the OS manufacturer.


            NXP JCOP cards may offer native capability, but the API is relatively low level and sandboxed.