Method for managing a package in a secure element
AssigneeThales Dis France SAS
InventorsChristophe Franchi, François-Xavier Marseille, Fabrice Vergnes
Life of this patent
Estimating the term…
Abstract
The invention is a method of managing a package in a secure element comprising an initial operating system. The method comprises a step of updating the initial operating system to generate an updated operating system and a step of linking the package to the updated operating system. The linking step is automatically triggered by the step of updating the initial operating system.
Claims5
A method for managing a package in a secure element comprising an initial operating system, wherein the package is created from a Converted Applet (CAP) file comprising a plurality of components and previously downloaded in the secure element, wherein the CAP file comprises an Import component, a Constant Pool component, a Reference Location component, a Class component and a Method component, and wherein the method comprises:
- a step of linking said package to said initial operating system, wherein the package comprises both its own Class component and its own Method component, wherein said linking step comprises the following sub-steps:
- processing the Import component to check consistency of the package with the updated operating system, and in case of successful consistency checking to:
- resolve each external reference of the Class component of the package, and
- resolve each external reference of the Method component of the package,
- a step of selecting, from said plurality of components, items that are required to retrieve references to be updated during a re-linking operation and permanently storing said items in the secure element, said items are selected from said Import, Constant Pool, Reference Location, Class and Method components,
- a step of removing at least one component of the CAP file from the secure element,
- a subsequent step of updating the initial operating system to generate an updated operating system,
- a subsequent step of re-linking the package to the updated operating system, said re-linking step being triggered by the step of updating the initial operating system and being carried out using said stored items.
A secure element comprising:
- a microprocessor;
- one or more memories;
- a package and an initial operating system, said package having been previously linked to said initial operating system said secure element comprising a first agent when executed in the microprocessor generates an updated operating system by updating the initial operating system, wherein said secure element comprises a second agent when executed in the microprocessor performs a re-linking operation of said package to the updated operating system, wherein said first agent is when executed in the microprocessor triggers the re-linking of the package at the end of the updating of the initial operating system,
- wherein
- the package is created from a Converted Applet (CAP) file previously downloaded in the secure element, said CAP file comprising a plurality of components including an Import component, a Constant Pool component, a Reference Location component, a Class component and a Method component, said package comprises both its own Class component and its own Method component,
- said secure element comprises a third agent when executed in the microprocessor selects, from said plurality of components, items that are required to retrieve references to be updated during the re-linking operation to permanently store said items in the secure element and to remove at least one component of the CAP file from the secure element, wherein said items are selected from said Import, Constant Pool, Reference Location, Class and Method components, and
- said second agent executes said re-linking operation using said stored items, said re-linking operation including processing the Import component to check consistency of the package with the updated operating system, and in case of successful consistency checking, using said items to:
- resolve each external reference of the Class component of the package, and resolve each external reference of the Method component of the package.
Dependencies are inferred from the claim text.