IP Library Patent Application 18582274
Patent Application
App. No. 18/582,274

METHOD OF EXECUTING A JAVA CARD APPLICATION

Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US None
App. No.
18/582,274
Abstract

A method includes executing an application of a scripting language. The application of the scripting language uses first and second packages of an application programming interface (API). The first and second packages extend to each other. The method includes, from a class of the first package, calling and executing first native code of the API to implement a function of a method of the class of the first package. The first native code is in a programming language different from the scripting language. The executing the first native code of the API includes calling a method of a class of the second package. The called method of the class of the second package is executed using a virtual machine of the scripting language. The application of the scripting language may be a Java card application, and the programming language may be a C programming language.

Claims (41)

1 . A method of executing an application of a scripting language on an integrated circuit, the application of the scripting language using first and second packages of an application programming interface (API) that extend to each other, the method comprising:

from a class of the first package, calling and executing a native method of the API to implement a function of a method of the class of the first package;

calling, from the native method of the API, a method of a class of the second package; and

executing the method of the class of the second package using a virtual machine of the scripting language.

2 . The method according to claim 1 , wherein the application of the scripting language is a Java card application.

3 . The method according to claim 1 , wherein the calling the method of the class of the second package comprises:

pushing a class token and a method token of the method of the class of the second package on a card stack.

4 . The method according to claim 3 , wherein the card stack is a Java card stack and the virtual machine is a Java card virtual machine.

5 . The method according to claim 1 , wherein the native method is in a C programming language.

6 . The method according to claim 1 , wherein the executing the application avoids a linker error associated with rules of the scripting language.

7 . A device, comprising:

memory; and

processing circuitry coupled to the memory, wherein the processing circuitry, in operation, executes an application of a scripting language, the application of the scripting language using first and second packages of an application programming interface (API) that extend to each other, the executing the application including:

from a class of the first package, calling and executing a native method of the API to implement a function of a method of the class of the first package;

calling, from the native method of the API, a method of a class of the second package; and

executing the method of the class of the second package using a virtual machine of the scripting language.

8 . The device according to claim 7 , wherein the application of the scripting language is a Java card application.

9 . The device according to claim 7 , wherein the calling the method of the class of the second package comprises:

pushing a class token and a method token of the method of the class of the second package on a card stack.

10 . The device according to claim 9 , wherein the card stack is a Java card stack and the virtual machine is a Java card virtual machine.

11 . The device according to claim 7 , wherein the native method is in a C programming language.

12 . The device according to claim 7 , wherein the executing the application avoids a linker error associated with rules of the scripting language.

13 . The device of claim 7 , comprising an integrated circuit, wherein the memory and the processing circuitry are embedded in the integrated circuit.

14 . The device of claim 13 , wherein the integrated circuit is an embedded universal integrated circuit card.

15 . A method of executing an application of a scripting language, the application of the scripting language using first and second packages of an application programming interface (API) that extend to each other, the method comprising:

from a class of the first package, calling and executing first native code of the API to implement a function of a method of the class of the first package, wherein the first native code is in a programming language different from the scripting language and the executing the first native code of the API includes calling a method of a class of the second package; and

executing the called method of the class of the second package using a virtual machine of the scripting language.

16 . The method according to claim 15 , wherein the application of the scripting language is a Java card application.

17 . The method according to claim 16 , wherein the programming language is a C programming language.

18 . A non-transitory computer-readable medium having contents which cause processing circuitry to execute an application of a scripting language, the application of the scripting language using first and second packages of an application programming interface (API) that extend to each other, the executing the application of the scripting language including:

from a class of the first package, calling and executing first code of the API to implement a function of a method of the class of the first package, wherein the first code is in a programming language different from the scripting language and the executing the first code of the API including calling a method of a class of the second package; and

executing the called method of the class of the second package using a virtual machine of the scripting language.

19 . The non-transitory computer-readable medium of claim 18 , wherein the application of the scripting language is a Java card application and the programming language is a C programming language.

20 . The non-transitory computer-readable medium of claim 18 , wherein the contents comprise instructions executable by the processing circuitry.

21 . A system, comprising:

data processing circuitry; and

security circuitry coupled to the data processing circuitry, wherein the security circuitry, in operation, executes an application of a scripting language, the application of the scripting language using first and second packages of an application programming interface (API) that extend to each other, the executing the application including:

from a class of the first package, calling and executing first native code of the API to implement a function of a method of the class of the first package, wherein the first native code is in a programming language different from the scripting language and the executing the first native code of the API includes calling a method of a class of the second package; and

executing the called method of the class of the second package using a virtual machine of the scripting language.

22 . The system of claim 21 , wherein the security circuitry executes the application of the scripting language in response to an authentication request associated with the data processing circuitry.

23 . The system of claim 21 , comprising an embedded universal integrated circuit card including the security circuitry.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 27, 2024
From: STMICROELECTRONICS S.R.L.
To: STMICROELECTRONICS INTERNATIONAL N.V.
Reel/Frame 066957/0012 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 12, 2024
From: DI MAGGIO, LUIGI; MIRTO, ETTORE
To: STMICROELECTRONICS S.R.L.
Reel/Frame 066733/0048 →