<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ep-patent-document PUBLIC "-//EPO//EP PATENT DOCUMENT 1.7//EN" "ep-patent-document-v1-7.dtd">
<!--This XML data has been generated under the supervision of the European Patent Office -->
<ep-patent-document id="EP20020287B1" file="EP20020287NWB1.xml" lang="en" country="EP" doc-number="3926504" kind="B1" date-publ="20240821" status="n" dtd-version="ep-patent-document-v1-7">
<SDOBI lang="en"><B000><eptags><B001EP>ATBECHDEDKESFRGBGRITLILUNLSEMCPTIESILTLVFIROMKCYALTRBGCZEEHUPLSK..HRIS..MTNORS..SM..................</B001EP><B005EP>J</B005EP><B007EP>0009210-RPUB02</B007EP><B070EP>The file contains technical information submitted after the application was filed and not included in this specification</B070EP></eptags></B000><B100><B110>3926504</B110><B120><B121>EUROPEAN PATENT SPECIFICATION</B121></B120><B130>B1</B130><B140><date>20240821</date></B140><B190>EP</B190></B100><B200><B210>20020287.7</B210><B220><date>20200619</date></B220><B240><B241><date>20220622</date></B241></B240><B250>en</B250><B251EP>en</B251EP><B260>en</B260></B200><B400><B405><date>20240821</date><bnum>202434</bnum></B405><B430><date>20211222</date><bnum>202151</bnum></B430><B450><date>20240821</date><bnum>202434</bnum></B450><B452EP><date>20240607</date></B452EP></B400><B500><B510EP><classification-ipcr sequence="1"><text>G06F  21/57        20130101AFI20200930BHEP        </text></classification-ipcr></B510EP><B520EP><classifications-cpc><classification-cpc sequence="1"><text>G06F  21/57        20130101 FI20200924BHEP        </text></classification-cpc></classifications-cpc></B520EP><B540><B541>de</B541><B542>EIN- UND AUSBLENDEN VON JAVA-KARTEN-APPLET-INSTANZEN</B542><B541>en</B541><B542>HIDING AND UNHIDING JAVA CARD APPLET INSTANCES</B542><B541>fr</B541><B542>MASQUAGE ET DÉMASQUAGE D'INSTANCES D'APPLET DE CARTE JAVA</B542></B540><B560><B561><text>US-A1- 2019 335 017</text></B561><B561><text>US-B2- 10 735 559</text></B561><B562><text>GLOBALPLATFORM INC.: "GlobalPlatform Card Specification Version 2.2.1", 31 January 2011 (2011-01-31), XP055294367, Retrieved from the Internet &lt;URL:http://www.globalplatform.org/specificationdownload.asp?id=7512&gt; [retrieved on 20160809]</text></B562></B560></B500><B700><B720><B721><snm>Mantri, Deepen</snm><adr><city>81371 München</city><ctry>DE</ctry></adr></B721></B720><B730><B731><snm>Giesecke+Devrient ePayments GmbH</snm><iid>102007506</iid><irf>51 3846/jag-bmu</irf><adr><str>Prinzregentenstraße 161</str><city>81677 München</city><ctry>DE</ctry></adr></B731></B730><B740><B741><snm>Giesecke+Devrient IP</snm><iid>101915655</iid><adr><str>Prinzregentenstraße 161</str><city>81677 München</city><ctry>DE</ctry></adr></B741></B740></B700><B800><B840><ctry>AL</ctry><ctry>AT</ctry><ctry>BE</ctry><ctry>BG</ctry><ctry>CH</ctry><ctry>CY</ctry><ctry>CZ</ctry><ctry>DE</ctry><ctry>DK</ctry><ctry>EE</ctry><ctry>ES</ctry><ctry>FI</ctry><ctry>FR</ctry><ctry>GB</ctry><ctry>GR</ctry><ctry>HR</ctry><ctry>HU</ctry><ctry>IE</ctry><ctry>IS</ctry><ctry>IT</ctry><ctry>LI</ctry><ctry>LT</ctry><ctry>LU</ctry><ctry>LV</ctry><ctry>MC</ctry><ctry>MK</ctry><ctry>MT</ctry><ctry>NL</ctry><ctry>NO</ctry><ctry>PL</ctry><ctry>PT</ctry><ctry>RO</ctry><ctry>RS</ctry><ctry>SE</ctry><ctry>SI</ctry><ctry>SK</ctry><ctry>SM</ctry><ctry>TR</ctry></B840></B800></SDOBI>
<description id="desc" lang="en"><!-- EPO <DP n="1"> -->
<p id="p0001" num="0001">The present invention relates to smart cards in general and in particular to methods and devices for installing and hiding applications onto smart cards. Particularly, the smart card can be based on the Java Card technology and can be a payment transaction card or a SIM (Subscriber Identity Module) card device for mobile communication of any form factor, implying plug-in SIM cards and embedded eUICCs for fixed mounting into a mobile device.</p>
<heading id="h0001">BACKGROUND OF THE INVENTION</heading>
<p id="p0002" num="0002">Java Card technology enables secure elements, such as smart cards and other tamper-resistant security chips, to host applications (applets) which employ Java technology. Java Card offers a secure and interoperable execution platform that can store, update and run multiple applications on a single resource-constrained device, while retaining the highest certification levels and compatibility with standards.</p>
<p id="p0003" num="0003">The GlobalPlatform Card Technology Specification sets up a global standard for cards and/or secure elements issuers that shall be implemented on smart cards. In particular, the GlobalPlatform Card and API specification define a card management framework which complements the Java Card specification by defining a set of commands that can be used to manage applications on a Java Card product.</p>
<p id="p0004" num="0004">Based on the GlobalPlatform technologies, multi-application product lines have been put forward, as for example Giesecke+Devrient's Convego<sup>®</sup> Join,<!-- EPO <DP n="2"> --> which allows to implement and combine value-added applications onto smart cards, such as, loyalty schemes, transport apps, and authentication solutions.</p>
<p id="p0005" num="0005">Manufacturing a smart card usually involves an initialization and a personalization process. During the initialization process, an integrated circuit chip is embedded into the plastic card body. The chip is loaded with at least one application program, such as a credit or a stored value application. After a card is initialized, it is then typically personalized. During personalization, the smart card is generally loaded with data that uniquely identifies the card, and with data that allows the card to be used for example in a payment system. Personalization data may include file information, application information, a personal identification number (PIN) or other cardholder information. Further information may be included, such as the currency in which the card or application is valid, the expiration date of the card or application, and a variety of cryptographic keys and algorithm information for the card or applications on the card.</p>
<p id="p0006" num="0006">Card personalization amounts to one of the major cost components in the production of smart cards. In particular, the personalization process duration is a critical factor, as it requires loading a significant amount of data into the Java Card memory during personalization.</p>
<p id="p0007" num="0007">In particular, it is currently observed that installation of Java Card payment applets on top of the Convego<sup>®</sup> Join Operating System (OS) consumes a substantial amount of the secure element's CPU execution time, notably between 1 to 2 seconds. This execution time is beyond acceptable limits and has to be reduced significantly.<!-- EPO <DP n="3"> --></p>
<p id="p0008" num="0008">It is therefore desirable to provide a solution for a time-efficient personalization of a Java Card that overcomes the above-mentioned drawbacks.</p>
<p id="p0009" num="0009">Document [1] <nplcit id="ncit0001" npl-type="s"><text>GlobalPlatform Card Specification Version 2.2.1, 31 January 2011 (2011-01-31</text></nplcit>) of the prior art discloses a method for installing applet instances in a card device comprising: receiving from an off-card entity a request, called INSTALL [for load, install, and make selectable] (section 9.3.4), for installing an instance of a first applet, the request for installing comprising a first applet identifier; installing an applet instance with the first applet identifier in a registry of the OS (section 9.3.6, section 9.3.7).</p>
<p id="p0010" num="0010">Document [2] <patcit id="pcit0001" dnum="US2019335017A1"><text>US 2019/335017 A1</text></patcit> of the prior art discloses a card device adapted to accept a load packet for an applet and to process and apply to the load packet an INSTALL command in order to prompt an installation of an instance of the applet in the card device. The INSTALL command is adapted to set up in the card device an application identifier comprised in the loading package that relates to the instance of the applet to be installed. The INSTALL command is adapted to install the applet instance while considering the application identifier and to set up in the card device at least one further application identifier that relates to the same instance of the applet.</p>
<heading id="h0002">SUMMARY OF THE INVENTION</heading>
<p id="p0011" num="0011">The present invention addresses the above object by the subject-matter covered by the independent claims. Preferred embodiments of the invention are defined in the dependent claims.<!-- EPO <DP n="4"> --></p>
<p id="p0012" num="0012">According to a first aspect of the present invention, there is provided a method for installing applet instances in a card device, the card device comprising an operating system, OS. The method comprises in a step receiving from an off-card entity a request for installing an instance of a first applet, the request for installing comprising a first applet identifier, AID. In a subsequent step, an applet instance with the first applet identifier is installed in a registry of the OS. In a further step, a request, sent from the off-card entity, for hiding the instance of the first applet identified by the first applet identifier is received at the card device. Subsequently, the applet instance identified by the first applet identifier is hidden on the card device.</p>
<p id="p0013" num="0013">The proposed method provides an efficient solution to time-saving personalization of a Java card, since it allows to install several applet instances for frequently used applications in the Java card before the personalization is actually performed. Since at this time it is not known which applet instances will be needed/used later during personalization of the card, these applet instances are, after having been installed, "hidden" in the card. A hidden applet instance is physically present on the card device, however not visible from outside. That is, the card device or secure element will not reveal the presence of a hidden applet instance, when requested. Later on, when personalization of the card is effected, and decided which applet instances to be used, the corresponding already installed hidden applet instances can be unhidden and made visible, and directly used during personalization, without having to upload and install a complete applet instance unto the Java card.</p>
<p id="p0014" num="0014">In some embodiments of the present invention, the method further comprises receiving from the off-card entity a further request for installing an instance of a second applet, the further request comprising a second applet<!-- EPO <DP n="5"> --> identifier, wherein the second applet is different from the first applet; checking whether the second applet identifier matches the applet identifier of one of the hidden applet instances; if the second applet identifier matches the applet identifier of one of the hidden applet instances, changing the applet identifier of the hidden applet instance to a new applet identifier; and installing the instance of the second applet with the second applet identifier in the registry of the OS.</p>
<p id="p0015" num="0015">This allow to install in the card device, before personalization, several new instances of different applets, while avoiding an applet identifier conflict, that may arise due to already hidden applet instances with the same AID. As no two applet instances can have the same AID, the OS will usually not allow installation of two applet instances with the same AID.</p>
<p id="p0016" num="0016">According to the present invention, the method further comprises receiving from the off-card entity a request for installing an instance of a third applet, the request comprising a third applet identifier identifying the instance of the third applet; checking whether there is a hidden applet instance of the third applet installed in the card device; checking whether the applet identifier of the hidden applet instance matches the third applet identifier; and if the applet identifier of the hidden applet instance matches the third applet identifier, unhiding the hidden applet instance.</p>
<p id="p0017" num="0017">This allows during personalization, when a request is received to install a new applet instance, to find, disclose and reuse a suitable hidden applet instance, instead of creating a new one from scratch. This intelligent re-use save crucial production time, thereby increasing production throughput. In particular, disclosing and reusing applet instances consumes between 0.1-0.2<!-- EPO <DP n="6"> --> seconds which is an on average 80% improvement over applet installation from scratch.</p>
<p id="p0018" num="0018">Preferably, if the applet identifier of the hidden applet instance differs from the third applet identifier, the applet identifier of the hidden applet instance is changed to the third applet identifier before unhiding the hidden applet instance.</p>
<p id="p0019" num="0019">Preferably, if there is no hidden applet instance of the third applet in the card device, the instance of the third applet is installed with the third applet identifier in the card device.</p>
<p id="p0020" num="0020">The number of applets, first, second, third applet, are given as examples. The invention is not restricted to 3 different applets. It is generic and applies to any number of different applets within a card device.</p>
<p id="p0021" num="0021">Preferably, the request for installing an instance of an applet comprises further installation parameters.</p>
<p id="p0022" num="0022">In some embodiments of the present invention, installing an applet instance with an applet identifier in the card device comprises creating a new applet instance, and storing in the OS registry the new applet instance with the applet identifier and preferably installation parameters received from an off-card entity.</p>
<p id="p0023" num="0023">By default, upon installing an applet instance the status of the newly installed applet instance should be "visible", meaning that the applet instance is visible from outside and the applet instance can be accessed and selected upon request. Alternatively, the step of installing an applet instance with an<!-- EPO <DP n="7"> --> applet identifier in the card device may comprise explicitly setting a status of the applet instance to visible.</p>
<p id="p0024" num="0024">In some embodiments of the present invention, the request for hiding an instance of an applet comprises further installation parameters, and checking whether there is a corresponding visible applet instance installed in the card device for the applet comprises further checking whether the received installation parameters match installation parameters which were received with a request for installing the corresponding applet instance.</p>
<p id="p0025" num="0025">This ensures that when an instance of an applet is to be hidden, the selected installed applet instance is a correct match and no unrelated installed applet instance is wrongly hidden.</p>
<p id="p0026" num="0026">Preferably, hiding an installed applet instance comprises setting a status of the applet instance to hidden. A hidden applet instance is physically present on the card device, however not visible nor selectable (i.e, accessible) from outside.</p>
<p id="p0027" num="0027">Preferably, the request for installing an instance of a third applet comprises further installation parameter for the third applet, and wherein checking whether there is a hidden applet instance of the third applet installed in the card device comprises further checking whether the received installation parameters match installation parameters which were received with a request for installing the hidden applet instance.</p>
<p id="p0028" num="0028">This ensures that, during personalization, a request for installing a new applet instance is sent by the off-card entity and received at the card device with exactly the same installation parameters like the ones used to install the<!-- EPO <DP n="8"> --> hidden applet instance. This check can be implemented in the card device or in the off-card entity. Only a hidden applet instance exactly matching a new applet instance to be installed can thus be unhidden and used, avoiding therefore the use of a wrong applet instance during personalization.</p>
<p id="p0029" num="0029">Preferably, unhiding a hidden applet instance comprises changing the status of the applet instance from hidden to visible.</p>
<p id="p0030" num="0030">According to a second aspect of the present invention, a card device is provided. The card device comprises a card operating system, OS, and is configured to receive from an off-card entity a request for installing an instance of an applet, the request comprising an applet identifier, and to install an applet instance with the received applet identifier in a registry of the OS. Further, the card device is configured to receive from the off-card entity a request for hiding the instance of the applet identified by the applet identifier, and to hide the applet instance identified by the applet identifier.</p>
<p id="p0031" num="0031">Preferably, the card device is further configured, upon receiving from the off-card entity the request for hiding an instance of an applet installed in the OS registry, to apply to the applet instance a HIDE command to change a status of the applet instance from visible to hidden.</p>
<p id="p0032" num="0032">In some embodiments of the present invention according to the second aspect, the card device is further configured, upon receiving from the off-card entity the request for installing an instance of an applet, to check whether the received applet identifier matches an applet identifier of one of the hidden applet instances. If the received applet identifier matches the applet identifier of one of the hidden applet instances, the applet identifier of the hidden applet<!-- EPO <DP n="9"> --> instance is changed to a new applet identifier, and the instance of the requested applet to be installed is installed with the applet identifier in the OS registry. Preferably, the card device is further configured to set a status of the installed applet instance to visible.</p>
<p id="p0033" num="0033">Preferably, the card device according to the second aspect is further configured to perform the method according to the first aspect and/or the embodiments of the first aspect.</p>
<p id="p0034" num="0034">According to a third aspect of the present invention, an Application Protocol Data Unit, APDU, Hide command is provided. The APDU Hide command comprises a data field for transferring an applet identifier, AID, of an applet instance to be hidden on a card device, and is configured to cause the card device upon applying the command to change the status of an installed applet instance from visible to hidden.</p>
<p id="p0035" num="0035">This provide a proprietary interface, which allows to install hidden applet instances in a card device.</p>
<p id="p0036" num="0036">Preferably, both the method according to the first aspect of the present invention and the card device according to the second aspect of the present invention implement the request for hiding an instance of an applet by the APDU Hide command according to the third aspect.</p>
<p id="p0037" num="0037">It has to be noted that all the devices, elements, units and means described in the present application could be implemented in software or hardware elements or combination thereof. All steps which are performed by the various<!-- EPO <DP n="10"> --> entities described in the present application as well as the described functionalities are intended to mean that the respective entity is adapted to or configured to perform the respective steps and functionalities.</p>
<p id="p0038" num="0038">Further aspects, features and advantages of the present invention will become apparent to those of ordinary skill in the art upon reviewing the following detailed description of preferred embodiments and variants of the present invention in conjunction with the accompanying figures.</p>
<heading id="h0003">BRIEF DESCRIPTION OF THE DRAWINGS</heading>
<p id="p0039" num="0039">Reference will now be made to the accompanying figures, in which
<dl id="dl0001">
<dt>Figure 1</dt><dd>illustrates components of a Java technology smart card;</dd>
<dt>Figure 2</dt><dd>illustrates the interaction between an off-card entity and a Java smart card;</dd>
<dt>Figure 3</dt><dd>illustrates a method for hiding and unhiding Java card applet instances according to an embodiment of the invention;</dd>
<dt>Figure 4</dt><dd>illustrates a method for installing hidden applet instances before card personalization according to an embodiment of the invention;</dd>
<dt>Figure 5</dt><dd>illustrates a method for disclosing and re-using hidden applet instances during card personalization according to another embodiment of the invention.</dd>
</dl><!-- EPO <DP n="11"> --></p>
<heading id="h0004">DETAILED DESCRIPTION</heading>
<p id="p0040" num="0040">Detailed explanations of the present invention are given below with reference to attached drawings that illustrate specific embodiment examples of the present invention. These embodiments are described in sufficient detail to enable those skilled in the art to practice the invention. It is to be understood that the various embodiments of the present invention, although different, are not necessarily mutually exclusive. For example, a particular feature, structure, or characteristic described herein in connection with one embodiment may be implemented within other embodiments without departing from the scope of the present invention. In addition, it is to be understood that the position or arrangement of individual elements within each disclosed embodiment may be modified without departing from the scope of the present invention. The following detailed description is, therefore, not to be taken in a limiting sense, and the scope of the present invention is defined only by the appended claims, appropriately interpreted, along with the full range of equivalents to which the claims are entitled. In the drawings, like numerals refer to the same or similar functionality throughout the several views. Through this specification, the expressions "Java Card", "card device" and "secure element" are used interchangeable.</p>
<p id="p0041" num="0041"><figref idref="f0001">Fig. 1</figref> illustrates software components of a Java technology smart card 100 (i.e., Java card, card device, secure element). The card device 100 comprises a card operating system (OS) 110, a Java card runtime environment (JCRE) 120 and a plurality of applets 130 (130-1, 130-2, 130-3), which are programs or applications written in Java programming language for use on the smart card. The JCRE 120 includes a Java Card Virtual Machine (VM) 121, which provides bytecode execution and Java language support for handling Java Card<!-- EPO <DP n="12"> --> applications or applets, and a framework 122, which is a set of classes implementing the API 123. The Application Programming Interface (API) 123 defines the calling conventions by which an applet 130 accesses the JCRE.</p>
<p id="p0042" num="0042">Associated with each applet 130 on smart card 100 is an Application Identifier (AID) 131 (131-1, 131-2, 131-3). The AID is a byte string up to 16 bytes long, whose format is defined by International Standard ISO/IEC 7816-5, and is used to uniquely identify an applet instance.</p>
<p id="p0043" num="0043"><figref idref="f0002">Fig. 2</figref> shows schematically the interaction between an off-card entity 200 and the card device or secure element 100 of <figref idref="f0001">Fig. 1</figref>.</p>
<p id="p0044" num="0044">The off-card entity 200 comprises and APDU Tool 210 for sending APDUs (Application Protocol Data Units) commands to the Java Card OS 110 of the card device 100. Applets are loaded into a card device by means of APDU commands, as specified in the Global Card Platform Specification. In particular, an applet is installed in a card device by loading a load packet for the applet into the card device with the LOAD command, while an instance of the applet is installed in the card device with an INSTALL (Install [for Install] APDU) command. The Install [for Install] APDU is described in the GlobalPlatform Card Specification, according to which the AID of an applet instance to be installed is transferred in the data field of the INSTALL command, notably in the sub-field "Application AID". A further sub-field, the "Install Parameters field" carry installation parameters. In particular, installation parameters comprise application specific parameters, system specific parameters, and control parameters.<!-- EPO <DP n="13"> --></p>
<p id="p0045" num="0045">During real-life production, card personalization usually requires loading and installing a significant amount of data into the Java Card memory, increasing thus the overall personalization time.</p>
<p id="p0046" num="0046">The present invention proposes a solution to time-saving personalization of a Java card. To have to transfer less data at personalization time, several applet instances for frequently used applications are installed in the Java card before the personalization is actually performed. As at this time it is not known which applet instances will be needed/used later on during personalization of the card, these applet instances are, after having been installed, "hidden" in the card. A hidden applet instance is physically present on the card device, however not visible and not directly accessible from outside. That is, the card device or secure element will not reveal the presence of a hidden applet instance, when requested. Later on, when personalization of the card is effected, and decided which applet instances to be used, the corresponding already installed hidden applet instances are made visible. In this case, there is no need to upload or create a complete applet instance unto the Java card, but only to unhide an already installed hidden applet instance. This process of installing, hiding, and unhiding applet instances leads to a reduction of personalization or applet installation time for up to 80% over the conventional approach.</p>
<p id="p0047" num="0047"><figref idref="f0003">Fig. 3</figref> illustrates the overall method for installing, hiding and unhiding Java Card applet instances according to an embodiment of the invention. Detailed steps for installing and hiding applet instances before card personalization are described with reference to <figref idref="f0004">Fig. 4</figref>, while detailed steps for disclosing/unhiding and re-using hidden applet instances during card personalization are described with reference to <figref idref="f0005">Fig. 5</figref>.<!-- EPO <DP n="14"> --></p>
<p id="p0048" num="0048">With reference to <figref idref="f0003">Fig. 3</figref>, in a first step S1, the card device 100 receives from an off-card entity 200 a request for installing an instance of a first applet, the applet instance being uniquely identified by a first applet identifier, AID. The request is generated, S21, by the APDU Tool 210 in the off-card entity 200, and send through the APDU command "Install [for Install]" to the card device 100. For instance, the request is for installing an "instance of Applet_A with AID_1".</p>
<p id="p0049" num="0049">Upon receiving the request, the card device 100 creates and registers in the operating system, OS, 110 a new applet instance with AID_1 (step S11). By default, the status of this instance is "visible". Alternatively, the status can be explicitly set to "visible". For specifying the visibility status of an applet instance, a Boolean flag associated with each applet instance, e.g., "0" indicating "hidden" and "1" indicating "visible", can be used. Other implementations are also possible, for example managing a list of visible applet instances. Applet instances can be stored in a registry of the OS.</p>
<p id="p0050" num="0050">In a further step, S2, the card device 100 receives from the off-card entity 200 a request for hiding the instance of the first applet identified by the first applet identifier. As with the installing request, this request for hiding an applet instance is generated by the APDU Tool 210 in the off-card entity 200 (step S22), and send through the APDU command "Hide" to the card device 100. For instance, the request is for hiding the "instance of Applet_A with AID_1".</p>
<p id="p0051" num="0051">Upon receiving the request, the card device 100 finds the instance of Applet_A with AID_1 in the OS registry and change the visibility option/status of the found applet instance from "visible" to "hidden".<!-- EPO <DP n="15"> --></p>
<p id="p0052" num="0052">Steps S1 and S2 described above allow to install and hide several applet instances before card personalization, as will be described in detail below, with reference to <figref idref="f0004">Fig. 4</figref>.</p>
<p id="p0053" num="0053">During the personalization process, to make a hidden applet instance visible, an Install [for Install] APDU is generated, S23, by the off-card device 200, and sent to the Java card 100 in step S3. Upon receiving the request, it is checked, S13, whether there exists any matching hidden instance in the OS registry. If a matching applet instance is found, the applet instance in unhidden, that is, its visibility option/status is changed from "hidden" to "visible". Further details of this unhiding process are given below with reference to <figref idref="f0005">Fig. 5</figref>.</p>
<p id="p0054" num="0054"><figref idref="f0004">Fig. 4</figref> illustrates a preferred implementation of the steps for installing (S1 in <figref idref="f0003">Fig. 3</figref>) and hiding (step S2 in <figref idref="f0003">Fig. 3</figref>) several applet instances before card personalization.</p>
<p id="p0055" num="0055">When an instance of a new applet (Applet_A) is to be installed with an applet identifier (AID_i) S110, under the assumption that instances of at least a different applet have already been installed and hidden in the card device, it is first checked S120 whether the received AID_i match with an applet identifier of a hidden applet instance. If this is the case, the applet identifier of the matching hidden instance will be changed S121 internally, that is, in the OS registry, to a new applet identifier, e.g., AID_k. After the change is effected, a new instance for Applet_A is created S130, and stored S140 together with AID_i in the OS registry.</p>
<p id="p0056" num="0056">In this way, an AID conflict is avoided, and both applets instances can be installed in the OS registry. Otherwise, the card device OS will not allow installation of two applet instances with the same AID.<!-- EPO <DP n="16"> --></p>
<p id="p0057" num="0057">After the new instance for Applet_A with AID_i has been stored in the OS registry, the status of this instance is set to "visible" (S150). Alternatively, the status can be specified to be by default "visible" upon storing the instance. For specifying the visibility status of an applet instance, a Boolean flag associated with each applet instance, e.g., "0" indicating "hidden" and "1" indicating "visible", can be used. Other implementations are also possible, for example managing a list of visible applet instances and a list of hidden applet instances.</p>
<p id="p0058" num="0058">With respect to the overall method described in <figref idref="f0003">Fig. 3</figref>, step S11 of <figref idref="f0003">Fig. 3</figref> is preferably implemented by steps S120, S130, S140, and S150 of <figref idref="f0004">Fig. 4</figref>.</p>
<p id="p0059" num="0059">After a new instance for an applet has been installed in the card, a request to hide the applet instance is received in step S160. The card's OS finds the corresponding matching instance of Applet_A with AID_i and changes the status to "hidden", S170.</p>
<p id="p0060" num="0060">Steps S160 and S170 are a preferred implementation of step S12 in <figref idref="f0003">Fig. 3</figref>.</p>
<p id="p0061" num="0061">The method illustrated in <figref idref="f0004">Fig. 4</figref> allows to install several hidden Java Card applet instances within the secure element, before personalization begins. These hidden instances are either part of the OS image that is flashed masked in the secure element's programmable memory or can be installed before the personalization step begins (e.g. during a card initialization step).</p>
<p id="p0062" num="0062"><figref idref="f0005">Fig. 5</figref> illustrates a preferred implementation of the step for un-hiding and re-using hidden applet instances (S3 in <figref idref="f0003">Fig. 3</figref>) during card personalization.<!-- EPO <DP n="17"> --></p>
<p id="p0063" num="0063">During personalization, to make a hidden applet instance visible, the Install [for Install] APDU is sent by the off-card entity 200 to the card device 100. The request contains the applet identifier, AID among other fields, such as applet name and installation parameters.</p>
<p id="p0064" num="0064">At the card device, upon receiving the request for installing Applet_A with AID_i in step S210, a suitable hidden applet instance is searched in the OS registry, S220. If a matching hidden applet instance is found, in a further step S230 the card device checks whether the AID, AID_k, of the hidden applet instance corresponds to the received AID, that is, whether AID_k = AID_i. This step is performed, since during installation of the hidden applet instance its original AID might have internally changed to avoid a potential AID conflict with other hidden applet instances.</p>
<p id="p0065" num="0065">If the AID of the matching hidden applet instance differs from the AID applet instance to be installed, the applet identifier of the matching hidden applet instance is changed back to the received AID, AID_i, in step S240, after which the hidden applet instance is made visible in step S250.</p>
<p id="p0066" num="0066">If the applet identifier of the hidden applet instance corresponds to the received AID_i, step S240 is skipped and step S250 is directly performed, by changing the status of the matching hidden applet instance to "visible".</p>
<p id="p0067" num="0067">If there is no hidden applet instance matching the new applet to be installed, an instance of this new applet will be installed from scratch. This include, creating S260 and storing S270 a new instance for Applet_A with AID_i in the OS registry. Preferably, the status of this applet instance is by default "visible". Alternatively, the status can be set to "visible" in a further step S280.<!-- EPO <DP n="18"> --></p>
<p id="p0068" num="0068">According to the implementation details described above for the step for hiding an applet instance before card personalization (S12), as well as for the step for unhiding an applet instance during card personalization (S13), it is checked whether there is a corresponding visible/hidden applet instance installed in the card device for the applet instance (S120, S170, S220).</p>
<p id="p0069" num="0069">In addition to checking the AID (and possibly the applet name) of the applet instance against already installed applet instances, a further check can be performed to detect whether installation parameters match. Preferably, the request for installing an instance of an applet and/or the request for hiding an instance of an applet comprises further installation parameters, and wherein checking whether there is a corresponding hidden and/or visible applet instance installed in the card device for the applet comprises further checking whether the received installation parameters match installation parameters which were received with a request for installing the corresponding applet instance.</p>
<p id="p0070" num="0070">Such an additional check can be implemented in the steps S120, S170, S220 described above. To support a comparison of installation parameter used to install applet instances, installation parameters can be stored in the OS registry together with the applet identifier for each applet instance installed in the card device.</p>
<p id="p0071" num="0071">By the above-described method, during personalization when a request is received to install a new applet instance, a suitable hidden instance is found, disclosed, that is, made visible, and reused instead of creating a new one from scratch. This intelligent re-use save crucial production time, thereby increasing production throughput.<!-- EPO <DP n="19"> --></p>
<p id="p0072" num="0072">Installing visible applet instances in a secure element or card device can be done via a standard interface, such as GlobalPlatform's Install [for Install] APDU command. However, there is no standard interface that supports installation of hidden applet instances within the card device.</p>
<p id="p0073" num="0073">Therefore, in a second aspect of the present invention, a proprietary APDU command is proposed. After receiving such an APDU, secure element's OS will find the applet instance with the given AID and hide it. Preferably, the APDU command "Hide AID_i" comprises a data field for transferring an applet identifier, AID_i, of an applet instance to be hidden on a card device 100. The Hide APDU is configured to cause the card device 100 upon applying the command to change the status of an installed applet instance, identified by AID_i, from visible to hidden.</p>
<p id="p0074" num="0074">The request for hiding an instance of an applet sent in step S2 by the off-card entity to the card device (as depicted in <figref idref="f0003">Fig. 3</figref>) can be implemented by the APDU Hide command described above.</p>
<p id="p0075" num="0075">In a further aspect of the present invention, the card device 100 in <figref idref="f0002">Fig. 2</figref> is configured to perform the method according to the first aspect of this invention, as illustrated in <figref idref="f0003">Figures 3</figref>, <figref idref="f0004">4</figref> and <figref idref="f0005">5</figref>. Furthermore, the card device 100 is configured, upon receiving from the off-card entity 200 the request for hiding an instance of an applet installed in the OS registry, to apply to the applet instance the APDU Hide command according to the second aspect of the present invention for changing a status of the applet instance from visible to hidden.<!-- EPO <DP n="20"> --></p>
<p id="p0076" num="0076">The above embodiments for installing, hiding and unhiding Java Card applet instances of the present invention provide several advantages due to the reduced data transfer at personalization time. In particular:
<ul id="ul0001" list-style="dash">
<li>Significant improvement of secure element's execution time while personalizing it during real-life production. Execution time of applet installation improves by almost 80%.</li>
<li>Direct monetary gains due to reduction in overall personalization time of secure element. For instance, if one second is gained for personalizing one smart card, for one million payment cards the personalization time reduces to 12 days.</li>
<li>No change required whatsoever in the existing production set-up (especially production software).</li>
</ul></p>
<p id="p0077" num="0077">To avoid an increase in memory consumption caused by installing several applet instances compared to the conventional approach of uploading applet instances only when needed, applet instances to be uploaded before personalization are selected based on criteria such as frequency of use or use case relevance.</p>
<p id="p0078" num="0078">In the foregoing specification, the invention has been described with reference to specific embodiments thereof. It will, however, be evident that various modifications and changes may be made thereto without departing from the broader scope of the invention. For example, the above-described process flows are described with reference to a particular ordering of process actions. However, the ordering of many of the described process actions may be<!-- EPO <DP n="21"> --> changed without affecting the scope or operation of the invention. The specification and drawings are, accordingly, to be regarded in an illustrative rather than restrictive sense.</p>
<heading id="h0005"><u>Cited references</u></heading>
<p id="p0079" num="0079">
<ol id="ol0001" compact="compact" ol-style="">
<li>[1] <nplcit id="ncit0002" npl-type="s"><text>GlobalPlatform Card Specification Version 2.2.1, 31 January 2011 (2011-01-31</text></nplcit>)</li>
<li>[2] <patcit id="pcit0002" dnum="US2019335017A1"><text>US 2019/335017 A1</text></patcit></li>
</ol></p>
</description>
<claims id="claims01" lang="en"><!-- EPO <DP n="22"> -->
<claim id="c-en-01-0001" num="0001">
<claim-text>A method for installing applet instances in a card device (100), the card device (100) comprising an operating system, OS (110), and able to receive several applet instances, wherein the method comprises the steps of:
<claim-text>- receiving (S1) from an off-card entity (200) a request for installing an instance of a first applet (130-1), the request for installing comprising a first applet identifier (131-1);</claim-text>
<claim-text>- installing (S11) an applet instance with the first applet identifier (131-1) in a registry of the OS (110);</claim-text>
<claim-text>- receiving (S2) from the off-card entity (200) a request for hiding the instance of the first applet (130-1) identified by the first applet identifier (131-1); and</claim-text>
<claim-text>- hiding (S12) the applet instance identified by the first applet identifier (131-1)</claim-text>
<claim-text>- receiving (S210) from the off-card entity (220) a request for installing an instance of a third applet (130-3), the request comprising a third applet identifier (131-3) identifying the instance of the third applet (130-3);</claim-text>
<claim-text>- checking (S220) whether there is a hidden applet instance of the third applet (130-3) installed in the card device (100);</claim-text>
<claim-text>- checking (S230) whether the applet identifier of the hidden applet instance matches the third applet identifier (131-3); and</claim-text>
<claim-text>- if the applet identifier of the hidden applet instance matches the third applet identifier (131-3), unhiding (S13) the hidden applet instance.</claim-text></claim-text></claim>
<claim id="c-en-01-0002" num="0002">
<claim-text>The method according to claim 1, further comprising:<!-- EPO <DP n="23"> -->
<claim-text>- receiving (S110) from the off-card entity (200) a further request for installing an instance of a second applet (130-2), the further request comprising a second applet identifier (131-2), wherein the second applet (130-2) is different from the first applet (130-1);</claim-text>
<claim-text>- checking (S120) whether the second applet identifier (131-2) matches the applet identifier (131) of at least one hidden applet instance;</claim-text>
<claim-text>- if the second applet identifier (131-2) matches the applet identifier of one or at least one hidden applet instance, changing (S121) the applet identifier of the hidden applet instance to a new applet identifier; and</claim-text>
<claim-text>- installing (S130, S140, S150) the instance of the second applet (130-2) with the second applet identifier (131-2) in the registry of the OS (110).</claim-text></claim-text></claim>
<claim id="c-en-01-0003" num="0003">
<claim-text>The method according to claim 1 or 2, further comprising:
<claim-text>- if the applet identifier of the hidden applet instance differs from the third applet identifier (131-3), changing (S240) the applet identifier of the hidden applet instance to the third applet identifier (131-3) and unhiding (S13; S250) the hidden applet instance.</claim-text></claim-text></claim>
<claim id="c-en-01-0004" num="0004">
<claim-text>The method according to any of claims 1 to 3, further comprising:
<claim-text>- if there is no hidden applet instance of the third applet (130-3), installing (S260, S270, S280) the instance of the third applet (130-3) with the third applet identifier (131-3) in the card device (100).</claim-text></claim-text></claim>
<claim id="c-en-01-0005" num="0005">
<claim-text>The method according to any one of the preceding claims, wherein the request for installing an instance of an applet (130) comprises further installation parameters, and wherein installing (S11) an applet instance with an applet identifier (131) in the card device (100) comprises:
<claim-text>- creating (S130; S260) a new applet instance;<!-- EPO <DP n="24"> --></claim-text>
<claim-text>- storing (S140; S270) in the OS (110) registry the new applet instance with the applet identifier (130) and preferably the installation parameters received from the off-card entity (200); and</claim-text>
<claim-text>- setting (S150; S280) a status of the applet instance to visible.</claim-text></claim-text></claim>
<claim id="c-en-01-0006" num="0006">
<claim-text>The method according to claim 5, wherein the request for hiding an instance of an applet (130) comprises further installation parameters, and wherein checking whether there is a corresponding visible applet instance installed in the card device (100) for the applet (130) comprises further checking whether the received installation parameters match installation parameters which were received with a request for installing the corresponding applet instance.</claim-text></claim>
<claim id="c-en-01-0007" num="0007">
<claim-text>The method according to any one of the preceding claims, wherein hiding (S12) an installed applet instance comprises setting a status of the applet instance to hidden (S170).</claim-text></claim>
<claim id="c-en-01-0008" num="0008">
<claim-text>The method according to any one of the preceding claims, wherein the request for installing an instance of a third applet (130-3) comprises further installation parameter for the third applet, and wherein checking (S220) whether there is a hidden applet instance of the third applet (130-3) installed in the card device (100) comprises further checking whether the received installation parameters match installation parameters which were received with a request for installing the hidden applet instance.</claim-text></claim>
<claim id="c-en-01-0009" num="0009">
<claim-text>The method according to any one of the preceding claims, wherein unhiding (S13) a hidden applet instance comprises changing (S250) the status of the applet instance from hidden to visible.<!-- EPO <DP n="25"> --></claim-text></claim>
<claim id="c-en-01-0010" num="0010">
<claim-text>The method of any one of claims 1 to 9, wherein the request for hiding an instance of an applet (130) is implemented by an Application Protocol Data Unit, APDU, Hide command comprising a data field for transferring an applet identifier, AID (131), of an applet instance to be hidden on a card de- vice (100), the Hide command being configured to cause the card device (100) upon applying the command to change the status of an installed applet in- stance from visible to hidden.</claim-text></claim>
<claim id="c-en-01-0011" num="0011">
<claim-text>A card device (100) comprising a card operating system, OS (110), the card device being configured to:
<claim-text>- receive from an off-card entity (200) a request for installing an instance of an applet (130), the request for installing comprising an applet identifier (131);</claim-text>
<claim-text>- install an applet instance with the applet identifier (131) in a registry of the OS (110);</claim-text>
<claim-text>- receive from the off-card entity (200) a request for hiding the instance of the applet (130) identified by the applet identifier (131); and</claim-text>
<claim-text>- hide the applet instance identified by the applet identifier (131),</claim-text>
<claim-text>- receive (S210) from the off-card entity (220) a request for installing an instance of a third applet (130-3), the request comprising a third applet identifier (131-3) identifying the instance of the third applet (130-3);</claim-text>
<claim-text>- check (S220) whether there is a hidden applet instance of the third applet (130-3) installed in the card device (100);</claim-text>
<claim-text>- check (S230) whether the applet identifier of the hidden applet instance matches the third applet identifier (131-3); and</claim-text>
<claim-text>- if the applet identifier of the hidden applet instance matches the third applet identifier (131-3), unhide (S13) the hidden applet instance.</claim-text></claim-text></claim>
<claim id="c-en-01-0012" num="0012">
<claim-text>The card device (100) according to claim 11, wherein the card device (100) is further configured, upon receiving from the off-card entity (200) the request for hiding an instance of an applet installed in the OS registry, to apply to the applet instance a Hide command to change a status of the applet instance from visible to hidden.<!-- EPO <DP n="26"> --></claim-text></claim>
<claim id="c-en-01-0013" num="0013">
<claim-text>The card device (100) according to claims 11 or 12, wherein the card device (100) is further configured, upon receiving from the off-card entity (200) the request for installing an instance of an applet (130), to:
<claim-text>- check whether the received applet identifier (131) matches an applet identifier of one or at least one hidden applet instance;</claim-text>
<claim-text>- if the received applet identifier (131) matches the applet identifier of one or at least one hidden applet instance, change the applet identifier of the hidden applet instance to a new applet identifier;</claim-text>
<claim-text>- install the instance of the applet (130) with the applet identifier (131) in the OS (110) registry; and</claim-text>
<claim-text>- preferably set a status of the installed applet instance to visible.</claim-text></claim-text></claim>
</claims>
<claims id="claims02" lang="de"><!-- EPO <DP n="27"> -->
<claim id="c-de-01-0001" num="0001">
<claim-text>Verfahren zum Installieren von Applet-Instanzen in einer Kartenvorrichtung (100), wobei die Kartenvorrichtung (100) ein Betriebssystem, OS (110), enthält und mehrere Applet-Instanzen empfangen kann und das Verfahren die folgenden Schritte umfasst:
<claim-text>- Empfangen (S1) von einer Einheit (200) außerhalb der Karte einer Anforderung zum Installieren einer Instanz eines ersten Applets (130-1), wobei die Anforderung zum Installieren eine erste Applet-Kennung (131-1) umfasst;</claim-text>
<claim-text>- Installieren (S11) einer Applet-Instanz mit der ersten Applet-Kennung (131-1) in einer Registrierungsdatenbank des OS (110);</claim-text>
<claim-text>- Empfangen (S2) von der Einheit (200) außerhalb der Karte einer Anforderung zum Verbergen der Instanz des ersten Applets (130-1), die durch die erste Applet-Kennung (131-1) identifiziert wird;</claim-text>
<claim-text>- Verbergen (S12) der Applet-Instanz, die durch die erste Applet-Kennung (131-1) identifiziert wird;</claim-text>
<claim-text>- Empfangen (S210) von der Einheit (220) außerhalb der Karte einer Anforderung zum Installieren einer Instanz eines dritten Applets (130-3), wobei die Anforderung eine dritte Applet-Kennung (131-3) umfasst, die die Instanz des dritten Applets (130-3) identifiziert;</claim-text>
<claim-text>- Prüfen (S220), ob eine verborgene Applet-Instanz des dritten Applets (130-3) in der Kartenvorrichtung (100) installiert ist;<!-- EPO <DP n="28"> --></claim-text>
<claim-text>- Prüfen (S230), ob die Applet-Kennung der verborgenen Applet-Instanz mit der dritten Applet-Kennung (131-3) übereinstimmt; und</claim-text>
<claim-text>- Einblenden (S13) der verborgenen Applet-Instanz, falls die Applet-Kennung der verborgenen Applet-Instanz mit der dritten Applet-Kennung (131-3) übereinstimmt.</claim-text></claim-text></claim>
<claim id="c-de-01-0002" num="0002">
<claim-text>Verfahren nach Anspruch 1, das ferner Folgendes umfasst:
<claim-text>- Empfangen (S110) von der Einheit (200) außerhalb der Karte einer weiteren Anforderung zum Installieren einer Instanz eines zweiten Applets (130-2), wobei die weitere Anforderung eine zweite Applet-Kennung (131-2) umfasst und das zweite Applet (130-2) vom ersten Applet (130-1) verschieden ist;</claim-text>
<claim-text>- Prüfen (S120), ob die zweite Applet-Kennung (131-2) mit der Applet-Kennung (131) mindestens einer verborgenen Applet-Instanz übereinstimmt;</claim-text>
<claim-text>- Ändern (S121) der Applet-Kennung der verborgenen Applet-Instanz zu einer neuen Applet-Kennung, falls die zweite Applet-Kennung (131-2) mit der Applet-Kennung einer oder mindestens einer verborgenen Applet-Instanz übereinstimmt; und</claim-text>
<claim-text>- Installieren (S130, S140, S150) der Instanz des zweiten Applets (130-2) mit der zweiten Applet-Kennung (131-2) in der Registrierungsdatenbank des OS (110).</claim-text></claim-text></claim>
<claim id="c-de-01-0003" num="0003">
<claim-text>Verfahren nach Anspruch 1 oder 2, das ferner Folgendes umfasst:
<claim-text>- Ändern (S240) der Applet-Kennung der verborgenen Applet-Instanz zur dritten Applet-Kennung (131-3) und Einblenden (S13; S250) der verborgenen Applet-Instanz, falls die Applet-Kennung der verborgenen Applet-Instanz sich von der dritten Applet-Kennung (131-3) unterscheidet.</claim-text></claim-text></claim>
<claim id="c-de-01-0004" num="0004">
<claim-text>Verfahren nach einem der Ansprüche 1 bis 3, das ferner Folgendes umfasst:
<claim-text>- Installieren (S260, S270, S280) der Instanz des dritten Applets (130-3) mit der dritten Applet-Kennung<!-- EPO <DP n="29"> --> (131-3) in der Kartenvorrichtung (100), falls keine verborgene Applet-Instanz des dritten Applets (130-3) vorhanden ist.</claim-text></claim-text></claim>
<claim id="c-de-01-0005" num="0005">
<claim-text>Verfahren nach einem der vorhergehenden Ansprüche, wobei die Anforderung zum Installieren einer Instanz eines Applets (130) ferner Installationsparameter umfasst und das Installieren (S11) einer Applet-Instanz mit einer Applet-Kennung (131) in der Kartenvorrichtung (100) Folgendes umfasst:
<claim-text>- Erzeugen (S130; S260) einer neuen Applet-Instanz;</claim-text>
<claim-text>- Speichern (S140; S270) in der Registrierungsdatenbank des OS (110) der neuen Applet-Instanz mit der Applet-Kennung (130) und vorzugsweise mit den Installationsparametern, die von der Einheit (200) außerhalb der Karte empfangen wurden; und</claim-text>
<claim-text>- Setzen (S150; S280) eines Status der Applet-Instanz zu sichtbar.</claim-text></claim-text></claim>
<claim id="c-de-01-0006" num="0006">
<claim-text>Verfahren nach Anspruch 5, wobei die Anforderung zum Verbergen einer Instanz eines Applets (130) ferner Installationsparameter umfasst und das Prüfen, ob eine entsprechende sichtbare Applet-Instanz in der Kartenvorrichtung (100) für das Applet (130) installiert ist, ferner ein Prüfen umfasst, ob die empfangenen Installationsparameter mit Installationsparametern übereinstimmen, die mit einer Anforderung zum Installieren der entsprechenden Applet-Instanz empfangen wurden.</claim-text></claim>
<claim id="c-de-01-0007" num="0007">
<claim-text>Verfahren nach einem der vorhergehenden Ansprüche, wobei das Verbergen (S12) einer installierten Applet-Instanz ein Setzen eines Status der Applet-Instanz zu verborgen (S170) umfasst.</claim-text></claim>
<claim id="c-de-01-0008" num="0008">
<claim-text>Verfahren nach einem der vorhergehenden Ansprüche, wobei die Anforderung zum Installieren einer Instanz eines dritten Applets (130-3) ferner Installationsparameter für das dritte Applet umfasst und<!-- EPO <DP n="30"> --> das Prüfen (S220), ob eine verborgene Applet-Instanz des dritten Applets (130-3) in der Kartenvorrichtung (100) installiert ist, ferner ein Prüfen umfasst, ob die empfangenen Installationsparameter mit Installationsparametern übereinstimmen, die mit einer Anforderung zum Installieren der verborgenen Applet-Instanz empfangen wurden.</claim-text></claim>
<claim id="c-de-01-0009" num="0009">
<claim-text>Verfahren nach einem der vorhergehenden Ansprüche, wobei das Einblenden (S13) einer verborgenen Applet-Instanz ein Ändern (S250) des Status der Applet-Instanz von verborgen zu sichtbar umfasst.</claim-text></claim>
<claim id="c-de-01-0010" num="0010">
<claim-text>Verfahren nach einem der Ansprüche 1 bis 9, wobei die Anforderung zum Verbergen einer Instanz eines Applets (130) durch eine Anwendungsprotokolldateneinheit-Verbergenanweisung, APDU-Verbergenanweisung, implementiert ist, die ein Datenfeld zum Übertragen einer Applet-Kennung, AID (131), einer Applet-Instanz, die in einer Kartenvorrichtung (100) verborgen werden soll, umfasst, wobei die Verbergenanweisung konfiguriert ist, zu verursachen, dass die Kartenvorrichtung (100) beim Anwenden der Anweisung den Status einer installierten Applet-Instanz von sichtbar zu verborgen ändert.</claim-text></claim>
<claim id="c-de-01-0011" num="0011">
<claim-text>Kartenvorrichtung (100), die ein Kartenbetriebssystem, OS (110), umfasst, wobei die Kartenvorrichtung konfiguriert ist zum:
<claim-text>- Empfangen von einer Einheit (200) außerhalb der Karte einer Anforderung zum Installieren einer Instanz eines Applets (130), wobei die Anforderung zum Installieren eine Applet-Kennung (131) umfasst;</claim-text>
<claim-text>- Installieren einer Applet-Instanz mit der Applet-Kennung (131) in einem Registrierungsdatenbank des OS (110);</claim-text>
<claim-text>- Empfangen von der Einheit (200) außerhalb der Karte einer Anforderung zum Verbergen der Instanz des Applets (130), die durch die Applet-Kennung (131) identifiziert wird;<!-- EPO <DP n="31"> --></claim-text>
<claim-text>- Verbergen der Applet-Instanz, die durch die Applet-Kennung (131) identifiziert wird;</claim-text>
<claim-text>- Empfangen (S210) von der Einheit (220) außerhalb der Karte einer Anforderung zum Installieren einer Instanz eines dritten Applets (130-3), wobei die Anforderung eine dritte Applet-Kennung (131-3) umfasst, die die Instanz des dritten Applets (130-3) identifiziert;</claim-text>
<claim-text>- Prüfen (S220), ob eine verborgene Applet-Instanz des dritten Applets (130-3) in der Kartenvorrichtung (100) installiert ist;</claim-text>
<claim-text>- Prüfen (S230), ob die Applet-Kennung der verborgenen Applet-Instanz mit der dritten Applet-Kennung (131-3) übereinstimmt; und</claim-text>
<claim-text>- Einblenden (S13) der verborgenen Applet-Instanz, falls die Applet-Kennung der verborgenen Applet-Instanz mit der dritten Applet-Kennung (131-3) übereinstimmt.</claim-text></claim-text></claim>
<claim id="c-de-01-0012" num="0012">
<claim-text>Kartenvorrichtung (100) nach Anspruch 11, wobei die Kartenvorrichtung (100) ferner konfiguriert ist, nach Eingang der Anforderung zum Verbergen einer Instanz eines Applets, das im OS-Registrierungsdatenbank installiert ist, von der Einheit (200) außerhalb der Karte, eine Verbergenanweisung auf die Applet-Instanz anzuwenden, um einen Status der Applet-Instanz von sichtbar zu verborgen zu ändern.</claim-text></claim>
<claim id="c-de-01-0013" num="0013">
<claim-text>Kartenvorrichtung (100) nach Anspruch 11 oder 12, wobei die Kartenvorrichtung (100) nach Eingang der Anforderung zum Installieren einer Instanz eines Applets (130) von der Einheit (200) außerhalb der Karte ferner konfiguriert ist zum:
<claim-text>- Prüfen, ob die empfangene Applet-Kennung (131) mit einer Applet-Kennung einer oder mindestens einer verborgenen Applet-Instanz übereinstimmt;</claim-text>
<claim-text>- Ändern der Applet-Kennung der verborgenen Applet-Instanz zu einer neuen Applet-Kennung, falls die empfangene Applet-Kennung (131) mit der Applet-Kennung einer oder mindestens einer verborgenen Applet-Instanz übereinstimmt;<!-- EPO <DP n="32"> --></claim-text>
<claim-text>- Installieren der Instanz des Applets (130) mit der Applet-Kennung (131) im Registrierungsdatenbank des OS (110); und</claim-text>
<claim-text>- vorzugsweise Setzen eines Status der installierten Applet-Instanz zu sichtbar.</claim-text></claim-text></claim>
</claims>
<claims id="claims03" lang="fr"><!-- EPO <DP n="33"> -->
<claim id="c-fr-01-0001" num="0001">
<claim-text>Procédé d'installation d'instances d'applet dans un dispositif à carte (100), le dispositif à carte (100) comprenant un système d'exploitation, OS (110), et capable de recevoir plusieurs instances d'applet, dans lequel le procédé comprend les étapes consistant à :
<claim-text>- recevoir (S1) à partir d'une entité hors carte (200) une demande d'installation d'une instance d'un premier applet (130-1), la demande d'installation comprenant un premier identifiant d'applet (131-1) ;</claim-text>
<claim-text>- installer (S11) une instance d'applet avec le premier identifiant d'applet (131-1) dans un registre de l'OS (110) ;</claim-text>
<claim-text>- recevoir (S2) à partir de l'entité hors carte (200) une demande de cacher l'instance du premier applet (130-1) identifié par le premier identifiant d'applet (131-1) ; et</claim-text>
<claim-text>- cacher (S12) l'instance d'applet identifiée par le premier identifiant d'applet (131-1) ;</claim-text>
<claim-text>- recevoir (S210) à partir de l'entité hors carte (220) une demande d'installation d'une instance d'un troisième applet (130-3), la demande comprenant un troisième identifiant d'applet (131-3) identifiant l'instance du troisième applet (130-3) ;</claim-text>
<claim-text>- contrôler (S220) s'il existe une instance d'applet cachée du troisième applet (130-3) installée dans le dispositif à carte (100) ;<!-- EPO <DP n="34"> --></claim-text>
<claim-text>- contrôler (S230) si l'identifiant d'applet de l'instance d'applet cachée correspond au troisième identifiant d'applet (131-3) ; et</claim-text>
<claim-text>- si l'identifiant d'applet de l'instance d'applet cachée correspond au troisième identifiant d'applet (131-3), réafficher (S13) l'instance d'applet cachée.</claim-text></claim-text></claim>
<claim id="c-fr-01-0002" num="0002">
<claim-text>Procédé selon la revendication 1, comprenant en outre :
<claim-text>- la réception (S110) à partir de l'entité hors carte (200) d'une demande supplémentaire d'installer une instance d'un deuxième applet (130-2), la demande supplémentaire comprenant un deuxième identifiant d'applet (131-2), dans lequel le deuxième applet (130-2) est différent du premier applet (130-1) ;</claim-text>
<claim-text>- le contrôle (S120) pour savoir si le deuxième identifiant d'applet (131-2) correspond à l'identifiant d'applet (131) d'au moins une instance d'applet cachée ;</claim-text>
<claim-text>- si le deuxième identifiant d'applet (131-2) correspond à l'identifiant d'applet d'une ou d'au moins une instance d'applet cachée, la modification (S121) de l'identifiant d'applet de l'instance d'applet cachée en un nouvel identifiant d'applet ; et</claim-text>
<claim-text>- l'installation (S130, S140, S150) de l'instance du deuxième applet (130-2) avec le deuxième identifiant d'applet (131-2) dans le registre du OS (110).</claim-text></claim-text></claim>
<claim id="c-fr-01-0003" num="0003">
<claim-text>Procédé selon la revendication 1 ou 2, comprenant en outre :
<claim-text>- si l'identifiant d'applet de l'instance d'applet cachée diffère du troisième identifiant d'applet (131-3), la modification (S240) de l'identifiant d'applet de l'instance d'applet cachée en troisième identifiant d'applet (131-3) et le réaffichage (S13 ; S250) de l'instance d'applet cachée.</claim-text></claim-text></claim>
<claim id="c-fr-01-0004" num="0004">
<claim-text>Procédé selon l'une quelconque des revendications 1 à 3, comprenant en outre :<!-- EPO <DP n="35"> -->
<claim-text>- s'il n'existe aucune instance d'applet cachée du troisième applet (130-3), l'installation (S260, S270, S280) de l'instance du troisième applet (130-3) avec le troisième identifiant d'applet (131-3) dans le dispositif à carte (100).</claim-text></claim-text></claim>
<claim id="c-fr-01-0005" num="0005">
<claim-text>Procédé selon l'une quelconque des revendications précédentes, dans lequel la demande d'installation d'une instance d'un applet (130) comprend des paramètres d'installation supplémentaires, et dans lequel l'installation (S11) d'une instance d'applet avec un identifiant d'applet (131) dans le dispositif à carte (100) comprend :
<claim-text>- la création (S130 ; S260) d'une nouvelle instance d'applet ;</claim-text>
<claim-text>- le stockage (S140 ; S270) dans le registre d'OS (110) de la nouvelle instance d'applet avec l'identifiant d'applet (130) et de préférence les paramètres d'installation reçus à partir de l'entité hors carte (200) ; et</claim-text>
<claim-text>- le réglage (S150 ; S280) d'un état de l'instance d'applet à visible.</claim-text></claim-text></claim>
<claim id="c-fr-01-0006" num="0006">
<claim-text>Procédé selon la revendication 5, dans lequel la demande de cacher une instance d'un applet (130) comprend des paramètres d'installation supplémentaires, et dans lequel le contrôle pour savoir s'il existe une instance d'applet visible correspondante installée dans le dispositif à carte (100) pour l'applet (130) comprend un contrôle supplémentaire pour savoir si les paramètres d'installation reçus correspondent aux paramètres d'installation qui ont été reçus avec une demande d'installation de l'instance d'applet correspondante.</claim-text></claim>
<claim id="c-fr-01-0007" num="0007">
<claim-text>Procédé selon l'une quelconque des revendications précédentes, dans lequel le fait de cacher (S12) une instance d'applet installée comprend le réglage d'un état de l'instance d'applet à cachée (S170).<!-- EPO <DP n="36"> --></claim-text></claim>
<claim id="c-fr-01-0008" num="0008">
<claim-text>Procédé selon l'une quelconque des revendications précédentes, dans lequel la demande d'installation d'une instance d'un troisième applet (130-3) comprend des paramètres d'installation supplémentaires pour le troisième applet, et dans lequel le contrôle (S220) pour savoir s'il existe une instance d'applet cachée du troisième applet (130-3) installé dans le dispositif à carte (100) comprend en outre le contrôle pour savoir si les paramètres d'installation reçus correspondent aux paramètres d'installation qui ont été reçus avec une demande d'installation de l'instance d'applet cachée.</claim-text></claim>
<claim id="c-fr-01-0009" num="0009">
<claim-text>Procédé selon l'une quelconque des revendications précédentes, dans lequel le réaffichage (S13) d'une instance d'applet cachée comprend la modification (S250) de l'état de l'instance d'applet de cachée à visible.</claim-text></claim>
<claim id="c-fr-01-0010" num="0010">
<claim-text>Procédé selon l'une quelconque des revendications 1 à 9, dans lequel la demande de cacher une instance d'un applet (130) est implémentée par une commande de masquage d'une unité de données de protocole d'application, APDU, comprenant un champ de données pour transférer un identifiant d'applet, AID (131), d'une instance d'applet devant être cachée sur un dispositif à carte (100), la commande de masquage étant configurée pour amener le dispositif à carte (100) lors de l'application de la commande à modifier l'état d'une instance d'applet installée de visible à cachée.</claim-text></claim>
<claim id="c-fr-01-0011" num="0011">
<claim-text>Dispositif à carte (100) comprenant un système d'exploitation à carte, OS (110), le dispositif à carte étant configuré pour :
<claim-text>- recevoir à partir d'une entité hors carte (200) une demande d'installation d'une instance d'un applet<!-- EPO <DP n="37"> --> (130), la demande d'installation comprenant un identifiant d'applet (131) ;</claim-text>
<claim-text>- installer une instance d'applet avec l'identifiant d'applet (131) dans un registre de l'OS (110) ;</claim-text>
<claim-text>- recevoir à partir de l'entité hors carte (200) une demande de cacher l'instance de l'applet (130) identifié par l'identifiant d'applet (131) ; et</claim-text>
<claim-text>- cacher l'instance d'applet identifiée par l'identifiant d'applet (131) ;</claim-text>
<claim-text>- recevoir (S210) à partir de l'entité hors carte (220) une demande d'installation d'une instance d'un troisième applet (130-3), la demande comprenant un troisième identifiant d'applet (131-3) identifiant l'instance du troisième applet (130-3) ;</claim-text>
<claim-text>- contrôler (S220) s'il existe une instance d'applet cachée du troisième applet (130-3) installée dans le dispositif à carte (100) ;</claim-text>
<claim-text>- contrôler (S230) si l'identifiant d'applet de l'instance d'applet cachée correspond au troisième identifiant d'applet (131-3) ; et</claim-text>
<claim-text>- si l'identifiant d'applet de l'instance d'applet cachée correspond au troisième identifiant d'applet (131-3), réafficher (S13) l'instance d'applet cachée.</claim-text></claim-text></claim>
<claim id="c-fr-01-0012" num="0012">
<claim-text>Dispositif à carte (100) selon la revendication 11, dans lequel le dispositif à carte (100) est configuré en outre, lors de la réception à partir de l'entité hors carte (200) de la demande de cacher une instance d'un applet installé dans le registre OS, pour appliquer l'instance d'applet d'une commande de masquage afin de modifier un état de l'instance d'applet de visible à cachée.</claim-text></claim>
<claim id="c-fr-01-0013" num="0013">
<claim-text>Dispositif à carte (100) selon les revendications 11 ou 12, dans lequel le dispositif à carte (100) est configuré en outre, lors de la réception à partir de l'entité hors carte (200) de la<!-- EPO <DP n="38"> --> demande d'installation d'une instance d'un applet (130), pour :
<claim-text>- contrôler si l'identifiant d'applet reçu (131) correspond à un identifiant d'applet d'une ou d'au moins une instance d'applet cachée ;</claim-text>
<claim-text>- si l'identifiant d'applet reçu (131) correspond à l'identifiant d'applet d'une ou d'au moins une instance d'applet cachée, modifier l'identifiant d'applet de l'instance d'applet cachée en un nouvel identifiant d'applet ;</claim-text>
<claim-text>- installer l'instance de l'applet (130) avec l'identifiant d'applet (131) dans le registre OS (110) ; et</claim-text>
<claim-text>- de préférence, régler un état de l'instance d'applet installée à visible.</claim-text></claim-text></claim>
</claims>
<drawings id="draw" lang="en"><!-- EPO <DP n="39"> -->
<figure id="f0001" num="1"><img id="if0001" file="imgf0001.tif" wi="149" he="172" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="40"> -->
<figure id="f0002" num="2"><img id="if0002" file="imgf0002.tif" wi="129" he="172" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="41"> -->
<figure id="f0003" num="3"><img id="if0003" file="imgf0003.tif" wi="152" he="217" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="42"> -->
<figure id="f0004" num="4"><img id="if0004" file="imgf0004.tif" wi="145" he="226" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="43"> -->
<figure id="f0005" num="5"><img id="if0005" file="imgf0005.tif" wi="143" he="217" img-content="drawing" img-format="tif"/></figure>
</drawings>
<ep-reference-list id="ref-list">
<heading id="ref-h0001"><b>REFERENCES CITED IN THE DESCRIPTION</b></heading>
<p id="ref-p0001" num=""><i>This list of references cited by the applicant is for the reader's convenience only. It does not form part of the European patent document. Even though great care has been taken in compiling the references, errors or omissions cannot be excluded and the EPO disclaims all liability in this regard.</i></p>
<heading id="ref-h0002"><b>Patent documents cited in the description</b></heading>
<p id="ref-p0002" num="">
<ul id="ref-ul0001" list-style="bullet">
<li><patcit id="ref-pcit0001" dnum="US2019335017A1"><document-id><country>US</country><doc-number>2019335017</doc-number><kind>A1</kind></document-id></patcit><crossref idref="pcit0001">[0010]</crossref><crossref idref="pcit0002">[0079]</crossref></li>
</ul></p>
<heading id="ref-h0003"><b>Non-patent literature cited in the description</b></heading>
<p id="ref-p0003" num="">
<ul id="ref-ul0002" list-style="bullet">
<li><nplcit id="ref-ncit0001" npl-type="s"><article><atl/><serial><sertitle>GlobalPlatform Card Specification Version 2.2.1</sertitle><pubdate><sdate>20110131</sdate><edate/></pubdate></serial></article></nplcit><crossref idref="ncit0001">[0009]</crossref><crossref idref="ncit0002">[0079]</crossref></li>
</ul></p>
</ep-reference-list>
</ep-patent-document>
