Method for loading a native code on a secure element
AssigneeGemalto SA
InventorsFrancois Bogusz, Francois Millet, Julien Glousieau, Abdellah El Marouani, Andre Sintzoff, Ilyas Landikov
Life of this patent
Estimating the term…
Abstract
The invention relates to a method for loading at least one native code on at least one target secure element comprising a java card virtual machine, said method comprising the following steps: providing a modified CAP file composed of at least one custom CAP component comprising a native code; extracting said native code from the custom CAP component; installing said native code in the target secure.
Claims20
A method for correcting at least one bug located in native code of at least one target secure element by loading at least one native code correction, added element, or added function on the at least one target secure element comprising a java card virtual machine and native code, said method comprising the following steps:
- providing a modified CAP file composed of at least one custom CAP component comprising a native code correction, added element, or added function to the native code of the at least one target secure element, the CAP component comprises information on the size, the type and number of corrections, or of new elements or of functions to be added;
- extracting said native code correction, added element, or added function from the custom CAP component;
- installing said native code correction, added element, or added function in the native code of the target secure element.
A method for generating a modified CAP file to correct at least one bug located in native code on at least one target secure element, the method comprising at least a native code correction to be loaded on the at least one target secure element comprising a Java Card Virtual Machine and native code, the native code correction being a correction to the native code of the at least one target secure element, said method comprising the following steps:
- generating a native code correction to be loaded into the native code of the target secure element and executed by the target secure element;
- generating a first CAP file comprising a set of CAP components, wherein each CAP component comprises information on the size, the type and number of corrections, or of new elements or of functions to be added;
- generating a modified CAP file by adding to the first CAP file a custom CAP component comprising the generated native code correction;
- providing the modified CAP file to the native code of the at least one target secure element;
- extracting the native code correction from the custom CAP component;
- and
- installing the native code correction in the native code of the target secure element.
Dependencies are inferred from the claim text.