EP3308278B1 - Method for updating personalization data - Google Patents

Method for updating personalization data Download PDF

Info

Publication number
EP3308278B1
EP3308278B1 EP16728664.0A EP16728664A EP3308278B1 EP 3308278 B1 EP3308278 B1 EP 3308278B1 EP 16728664 A EP16728664 A EP 16728664A EP 3308278 B1 EP3308278 B1 EP 3308278B1
Authority
EP
European Patent Office
Prior art keywords
data
personalisation data
terminal
updated
security document
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
EP16728664.0A
Other languages
German (de)
French (fr)
Other versions
EP3308278A1 (en
Inventor
Frank Müller
Steffen Scholze
Matthias SCHWAN
Klaus-Dieter Wirth
Elke FILZHUTH
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bundesdruckerei GmbH
Original Assignee
Bundesdruckerei GmbH
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bundesdruckerei GmbH filed Critical Bundesdruckerei GmbH
Priority to EP22160148.7A priority Critical patent/EP4068103A1/en
Publication of EP3308278A1 publication Critical patent/EP3308278A1/en
Application granted granted Critical
Publication of EP3308278B1 publication Critical patent/EP3308278B1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/71Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
    • G06F21/72Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information in cryptographic circuits
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • G06F12/023Free address space management
    • G06F12/0238Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/34Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
    • G06Q20/341Active cards, i.e. cards including their own processing means, e.g. including an IC or chip
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/34Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
    • G06Q20/355Personalisation of cards for use
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/04Addressing variable-length words or parts of words
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/14Protection against unauthorised use of memory or access to memory
    • G06F12/1408Protection against unauthorised use of memory or access to memory by using cryptography
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2212/00Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
    • G06F2212/17Embedded application
    • G06F2212/178Electronic token or RFID
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2212/00Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
    • G06F2212/72Details relating to flash memory management
    • G06F2212/7202Allocation control and policies

Definitions

  • the invention relates to a method for updating personalization data of a valuable or security document, wherein the valuable or security document can in particular be a sovereign valuable or security document.
  • personalization data such as passport photos, fingerprints or the like are usually stored in a non-volatile memory area of the chip card, which can be used by a processor of the chip card, for example in the course of an authentication process to determine the identity of a document owner.
  • Writable files on value or security documents for example in the form of chip cards, for storing personalization data and for personalizing the value or security document are characterized by a physical storage length with a physical file end.
  • a corresponding file has a predefined physical storage length, which corresponds to the storage space created. If personalization data is stored in the file, the file also has a logical end of file.
  • the logical end of file indicates the end of a logically related section of the occupied storage space.
  • the physical end of file specifies the maximum amount of data that can be written to the file, i. H. it corresponds to the end of the memory block reserved for the corresponding file.
  • the logical end of file indicates up to which point in the memory block the file is already filled and up to which position the file is to be read.
  • a completely filled memory block i. H. a file completely filled with stored data, the physical end of file and the logical end of file coincide.
  • a common auxiliary construction in this case is to use the complete memory block, i. H. the complete file, first to be overwritten with zeros, whereby the logical file end corresponds to the physical file end. Only after this process is the data to be updated written to the memory block. This usually shows where the updated data ends. However, the data content of the updated data does not correspond to the written content, since the added zeros could also be read when the written content is read out.
  • the excess zeros can lead to problems in particular if the chip card is to create a signature for the content of a file, for example, and this signature is later to be checked outside the card. In this case, it is not clear whether the corresponding zeros are a logical part of the signed data or not. This can lead to problems when checking the signature of the corresponding files.
  • the inevitable reading of excess residual data means an increase in the workload when reading out the contents of the corresponding files.
  • File structures are known from the prior art which include a length specification of a logically related file section, e.g. B. TLV files. If several such TLV files are configured as file structures arranged one after the other, it is not clear without further information whether the data that are directly connected to the logical file structures delimited by the length specification are negligible residual data or other meaningful, logically related data data sections.
  • the invention is based on the object of creating an improved method for updating personalization data of a value or security document, which in particular also enables the personalization data to be changed securely in sovereign applications.
  • a “value or security document” is understood to mean paper-based and/or plastic-based documents, for example in the form of chip cards.
  • Valuable or security documents include, for example, electronic ID documents, in particular passports, identity cards, residence permits, visas and driving licenses, vehicle registration documents, vehicle registration documents, company ID cards, health cards, signature cards, SIM cards or other ID documents, means of payment, in particular banknotes, bank cards and credit cards, bills of lading or other proofs of entitlement, in which a data store for storing the at least one attribute is integrated.
  • a value or security document comprises in particular a "chip card” which has at least one data memory for storing at least one attribute or personalization data and a communication interface for reading out the attribute or personalization data.
  • the document preferably has a secure memory area, for example in the form of a chip card, for storing the at least one attribute, in order to prevent the attribute stored in the memory area from being changed in an unauthorized manner or read out without the authorization required for this.
  • a “protected memory” is understood to mean, in particular, a non-volatile electronic memory which allows access to data stored in the memory only after a cryptographic access condition has been checked. Furthermore, a protected memory can have access management, which allows specific users who have appropriate access authorization to access the memory stored data granted after identification of the user. However, it is not possible to read or write the data from the protected memory without the appropriate authorization.
  • the memory of the value or security document is a protected memory.
  • chip card operating systems with a hierarchical chip card file system are known, as specified in ISO/IEC 7816-4, for example.
  • Such a chip card file system usually has a root directory called "Masterfile”, abbreviated MF.
  • MF masterfile
  • DF directory files
  • the MF is a special form of the DF.
  • a data file is a file dependent on a DF, which is also referred to as an elementary file, abbreviated to EF.
  • an MF does not necessarily have to be present. Then each application manages its data in a DF without a higher-level MF. The root of the DF is then set using an application identifier (AID) directly when the application is selected.
  • AID application identifier
  • a master file is therefore a special case of a dedicated file and represents the entire memory available in a chip card or a value or security document for the data area.
  • the chip card file system can also contain data objects which, in principle, cannot be accessed externally.
  • a data object contains a key, in particular a private key of an asymmetric cryptographic key pair, a password and/or cryptographic parameters.
  • Such internal data objects are also referred to as Internal EF.
  • Both an EF and a DF can contain control data, such as an access condition to the EF or to the files dependent on a DF.
  • Control data is generally stored in the EFs.
  • control data of a value or security document is understood to mean the assigned administrative data which, in particular, define at least one access condition for access to the personalization data.
  • control data can also contain an indication of the position of the file in question in the chip card file system, for example in the form of a pointer to the respective successor node in the file tree of the chip card or of the value or security document, as well as e.g. a file identifier (FID) and an application Identifier (AID).
  • FID file identifier
  • AID application Identifier
  • Personalization data is understood to mean all data stored in the file system of the chip card operating system that can only be used internally by the chip card operating system at runtime (e.g. key and associated cryptographic parameters) or can be read out in compliance with the access conditions stored in the control data (e.g. data of the owner ).
  • personalization data is understood to mean data that requires a terminal application program that is interoperable with the chip card or a value or security document, such as biometric data, in particular fingerprint data, facial biometric data and/or iris scan data that a terminal needs for a biometric authentication required. Such sensitive personalization data may only be read from the chip card or value or security document after prior authentication of the terminal, with the cryptographic access conditions required for this being specified by the respective control data.
  • the power supply for the processor means of the chip card is usually provided by a terminal via an RFID interface. If the document were to be removed from the terminal too early during an update process, the power supply to the document would be interrupted and any update process that might have been triggered could not be completed. This could potentially make the document unusable. Embodiments of the invention could have the advantage that this risk can be effectively avoided by the document for example in a Slot or another type of mechanical recording of the terminal is fully included and thus protected from access by a user. After the end of the reloading process, the document could then be ejected from the mechanical receptacle of the terminal.
  • the wear and tear on the document can be reduced to a minimum despite the use of a mechanical holder.
  • the contact surface between the document and the holder of the terminal is irrelevant for the communication between the document and the terminal, as well as for the coupling of energy to operate the document.
  • friction effects on the surface of the document body do not impair the functionality of the document.
  • by combining mechanical recording with contactless communication the integrity of the data stored on the document can be preserved, since premature removal of the document from the terminal can be ruled out. This ensures uninterrupted communication and power supply during the update process.
  • Embodiments of the invention can have the advantage that the logical end of the personalization data in the EFs is clearly defined by the pointer stored in the chip card file system. This clearly defines the point up to which the EF is to be read. Data that is arranged after the logical end defined by the pointer is not read out and can therefore not lead to ambiguities. In addition, it can be ensured in this way that no unnecessary reading processes are carried out or no unnecessarily extensive amounts of data are read out. Thus, the efficiency of the reading process is increased.
  • the personalization data can be, for example, an address of the owner of the value or security document.
  • the personalization data can be, for example, an address of the owner of the value or security document.
  • the DF is an MF.
  • further files, EFs and/or DFs are combined in the MF, it being possible for the DFs in turn to each comprise at least one EF.
  • the pointer is stored in the control data of the associated EF.
  • the DF comprises a plurality of EFs and a pointer table, the pointer table associating each EF with a pointer which indicates the logical end of the personalization data stored in the associated EF.
  • Embodiments of the invention can have the advantage that the pointer information is provided in a central pointer table, which increases the clarity of the system.
  • the present invention is particularly advantageous if the updated personalization data is shorter than the previous personalization data. However, even if the updated personalization data is longer and the logical end is thus shifted backwards, the present invention offers the advantage that the logical file end of the updated personalization data is clearly defined.
  • the updated personalization data are shorter than the first personalization data, so that the logical end of the updated Personalization data is arranged before the logical end of the first personalization data.
  • Embodiments of the present invention may have the advantage that personalization data is only written to an EF if the resulting length of the updated personalization data does not exceed the length of the EF. It can thus be prevented that errors occur when writing the updated personalization data.
  • Embodiments of the invention can have the advantage that the probable logical end of the updated personalization data can thus be determined efficiently.
  • the logical end of the file is set to the end of the second personalization data by creating an updated pointer indicating the logical end of the updated personalization data.
  • Embodiments of the invention can have the advantage that the logical end of file can be determined easily and reliably. Once the personalization data is written to the EF, the logical end of file is placed directly after the currently written data block of personalization data.
  • the write command is a write command in a sequence of write commands, with a last write command in the sequence of write commands comprising an indicator which indicates that the last write command is a final write command, and with the preceding write commands each comprising an indicator which indicates another write command follows.
  • Embodiments of the invention can have the advantage that a plurality of write commands can thus be used for a plurality of personalization data. This is advantageous, for example, when the personalization data to be written is very extensive and it is necessary for reasons of data transmission or predefined data formats to divide the personalization data to be written into a plurality of data blocks, each of which is assigned a write command. Furthermore, embodiments of the present invention open up the possibility that different personalization data or parts of personalization data can be updated at different points of the EF.
  • the various write commands can be linked, for example, via a command chaining bit in the CLASS byte according to ISO 7816-4 of the write command.
  • a bit value of 1 indicates that a further write command follows, while a bit value of 0 indicates that this is a final write command.
  • the pointer is not updated until an indicator in the form of a bit value 0 indicates that this is the final write command. Then the logical end of file is placed after the last updated personalization data.
  • the method comprises: Before updating the pointer, checking using the indicator whether the write command is a final write command, if the write command is not a final write command, executing the next write command in the sequence, if the write command is a final write command, setting the logical end of the file after executing the final write command to the end of the updated personalization data by creating an updated pointer indicating the logical end of the updated personalization data
  • Embodiments of the invention may have the advantage that the logical end of file can be determined efficiently. No further information, such as write commands, is required for this. The entire write process can thus be configured more efficiently, even in the case of a plurality of write commands.
  • the logical end of file is placed at the end of the updated personalization data in response to a selection of another file and/or directory by creating an updated pointer that indicates the logical end of the updated personalization data.
  • Embodiments of the invention can have the advantage that additional auxiliary constructions such as overwriting the entire content of the EF with zeros are not required. This saves time on the one hand and on the other hand there is no need for an additional write command that would have to be triggered externally.
  • the logical content of the EF always matches the actually written content in update methods according to the present disclosure, ie in operations on the content of the EF, such as reading out the corresponding personalization data, negligible residual data need not be taken into account.
  • the first personalization data is updated by overwriting it with the second personalization data, beginning at the beginning of the first personalization data.
  • Embodiments of the present invention can have the advantage that no additional information about the start of the writing process is required, as a result of which the entire writing process can be made more efficient.
  • the write command includes an offset value that determines a starting point within the memory length of the EF for updating the first personalization data, and the first personalization data is updated by overwriting it with the second personalization data.
  • Embodiments of the invention can have the advantage that the starting point for updating the personalization data can be chosen flexibly. This is advantageous if the personalization data stored in the EF is very extensive and only a small part of the stored first personalization data has to be updated with second personalization data. In this case, by using an offset value in the write command, it can be avoided that the entire personalization data has to be updated.
  • the first personalization data is the address of the owner of the value or security document and if the owner moves house only the house number changes, the entire address does not have to be replaced, but simply replacing the house number with the new house number in to update the EF containing the address.
  • Another example is an extensive certificate in which the validity of the signature has expired. Embodiments of the present invention allow only the signature of the certificate to be replaced without having to replace the entire certificate.
  • the first personalization data is read before updating, a starting point within the memory length of the EF for updating the first personalization data is determined on the basis of the first personalization data read out, and the first personalization data is updated by overwriting it with the second personalization data.
  • Embodiments of the invention can have the advantage that a starting point for updating the personalization data is also possible without knowledge of the first personalization data.
  • the content of the personalization data or its structure must be known when the write command is created in order to be able to determine which section corresponds to the data to be updated. Determining the starting point on the basis of personalization data, which is only read out in the course of the writing process, makes it possible to replace data even without the relevant prior knowledge.
  • the starting point can be set either automatically or manually.
  • the read out first personalization data on the value or security document or the terminal can thus be analyzed, for example on the basis of corresponding criteria which are defined in the write command.
  • the corresponding data can be displayed, for example, on a display device of the terminal, so that a user of the terminal can manually specify which sections of the personalization data are to be updated.
  • Corresponding second personalization data can be provided to the terminal automatically, for example via an encrypted internet connection.
  • the corresponding personalization data can be pre-installed on the terminal or can be loaded using appropriate updates, for example at predefined time intervals.
  • the corresponding second personalization data can be specified by manual input by a user of the terminal who has previously authenticated himself and has provided appropriate proof of authorization.
  • the terminal can be a corresponding terminal of a city administration, to which the user can independently report his change of address. To do this, the user makes the necessary entries on the terminal and at the same time changes the address stored in the corresponding EF.
  • the updating comprises a partial physical relocation of the personalization data stored in the EF.
  • the personalization data are copied from their original storage area to another storage area.
  • the shifting can be performed as reading the data section to be shifted from the EF and writing the data section read out to a new position shifted from the original position.
  • the new position is selected in such a way that the beginning of the shifted section is directly connected to the end of the second personalization data. Writing the moved section overwrites the original data.
  • Embodiments of the invention can have the advantage that data sections within the first personalization data can also be updated, with the subsequent personalization data being at least partially retained. If, for example, an updated middle section of the personalization data is shorter than the preceding logically equivalent middle section, residual data remain within the personalization data, which can lead to problems in the interpretation of data to be read out. In principle, this can be avoided by updating the entire personalization data, i.e. overwriting it, and by updating the pointer to the logical end of the updated personalization data, complications due to residual data remaining at the end of the file are prevented. However, this can be time-consuming in the case of extensive personalization data. If only a short remaining section of the first personalization data is to be retained, it can be significantly more efficient to physically move or copy this remaining section in such a way that it is indirectly connected to the updated partial section of the personalization data.
  • Embodiments of the present inventive method can advantageously also be applied to personalization data with a TLV structure.
  • personalization data can be created in the form of a TLV (Tag Length Value) structure.
  • a TLV structure is a data structure intended to simplify the organization of data. For this purpose, in addition to the content of the data structure (value), an identifier for the type of data contained (tag) and the length of the data object is also specified in a header of the structure. If a program that can only process a certain type of data object, for example, processes a series of TLV structures, it can first check whether the data content of a TLV structure can be processed at all by reading the tag of the TLV structure. If the program determines that the type of data contained cannot be processed with the program, the program can simply skip the TLV structure, since the length of the structure is specified in the value L.
  • the chip card operating system initially sets a flag in the non-volatile electronic memory of the value or security document, which indicates the start of the update process for updating the first personalization data, and the flag after the Updating the pointer is cleared.
  • the flag initially set in the protected electronic memory for updating the personalization data indicates that the personalization data is to be changed. Only after the pointer to the logical end of the updated personalization data has been updated is the flag reset.
  • the terminal of the chip card system is a reading device for an official document, such as a reading device for an electronic identity card, an electronic residence permit or an electronic passport.
  • the value or security document is first drawn into the mechanical feeder of the terminal, so that the value or security document is completely inside the housing of the terminal after it has been drawn in. It can hereby be ensured that the value or security document is not removed from the terminal while the personalization data is being updated, since otherwise data loss could be caused by an interruption in the communication connection.
  • the document is ejected from the mechanical feeder. Ejection is to be understood here as meaning that the document is released by the mechanical feed to such an extent that a document holder can remove the document from the terminal. This can be done, for example, by ejection in the sense of a movement of the document from the mechanical feeder happen or the mechanical feeder can release a flap or opening, for example, so that the document can be gripped with the hands within the mechanical feeder.
  • the value or security document has a first contactless communication interface, while the terminal has a second contactless communication interface.
  • the method then includes setting up a communication connection between the terminal and the value or security document via the first and second contactless communication interface.
  • the transmission of the second personalization data into the protected, non-volatile memory area of the value or security document then takes place via precisely this communication link.
  • the communication connection can be an RFID or NFC connection, for example.
  • the combination of contactless communication between the value or security document and the terminal and the drawing of the value or security document into a mechanical feed could have the advantage that the mechanical feed prevents premature removal of the value or security document from the effective range of the terminal while at the same time the means for contactless communication between the value or security document and the terminal can be embedded in the value or security document.
  • Contacts that are used for contact-based data transmission could wear out due to the friction that usually occurs when using a mechanical feed.
  • this risk is effectively avoided by embedding, for example, an antenna in the value or security document body, in which case the antenna does not protrude from the value or security document at any point.
  • the establishment of the communication link between the terminal and the value or security document includes a mutual authentication of the terminal and the value or security document.
  • a secure communication channel is set up between the terminal and value or security document.
  • the personalization data is then transmitted exclusively via this secure communication channel.
  • Embodiments of the invention could have the advantage that by securing the communication between the value or security document and the terminal, spying out of the transmitted personalization data can be prevented.
  • a challenge-response method can be used for authentication.
  • authentication can be performed using the Basic Access Control (BAC) method or using the Password Authenticated Connection Establishment (PACE) method.
  • BAC Basic Access Control
  • PACE Password Authenticated Connection Establishment
  • the terminal deletes the second personalization data from the electronic memory of the terminal.
  • the electronic memory of the terminal is a volatile memory.
  • the electronic memory of the terminal could be designed as a random access memory (RAM). This would have the advantage that when the terminal is switched off, all the personalization data stored in the terminal's memory from previous compression processes are automatically deleted. A targeted deletion of the personalization data from the memory of the terminal is then no longer necessary.
  • a reloading token is used in the course of the method according to the invention, the value or security document second personalization data to be reloaded are contained on the reload token, the reload token being connected to the terminal at the beginning of the method, the connection between the terminal and reload token being configured for data transmission between the terminal and reload token, the terminal being configured to load the second personalization data to be reloaded to extract from the reload token and transfer it to the non-volatile electronic memory of the value or security document.
  • the reload token can be a smart card that is inserted into the terminal.
  • the connection between the terminal and the reload token is configured for data transmission between the terminal and the reload token.
  • the value or security document contains a certificate with a public key of an asymmetric key pair.
  • the second personalization data to be reloaded onto the value or security document, which are contained in a reload token, for example, then contain a cryptographic signature, with the value or security document being configured, after receiving the personalization data to be reloaded from the terminal, to match the cryptographic signature of the received data with the public Verify the certificate key.
  • the value or security document is configured to delete subsequently loaded second personalization data whose signature cannot be verified with the public key from the non-volatile memory of the value or security document.
  • a value or security document issuer can thereby specify who is to reload data onto the value or security document can and who can't.
  • parties who have been provided with the appropriate private key by the issuer of the value or security document, which can generate a signature can load data onto the value or security document. which can be verified with the public key of the asymmetric key pair.
  • the terminal comprises an energy source, the energy source being a self-contained internal energy source and/or an external energy source.
  • Embodiments could have the advantage that when using an internal energy source, the terminal can be designed as a portable device that is completely self-sufficient. Such a self-sufficiency would improve the security of the terminal against access by unauthorized persons, since communication only takes place between the value or security document and the terminal. Furthermore, a combination of an internal energy source, such as a battery, and an external energy source, such as a mains connection, can improve the reliability of the terminal since the probability of both energy sources failing is lower than the probability of one of the energy sources failing.
  • an internal energy source such as a battery
  • an external energy source such as a mains connection
  • the terminal includes an authentication token, with the authentication token containing data for authentication of a user of the terminal, with the authentication token being able to be configured as an exchangeable physical data carrier.
  • the data carrier can be another chip card, for example.
  • Embodiments could have the advantage that the terminal can be used by a large number of different users by exchanging the authentication token. However, this also ensures that only the user whose authentication token is currently connected to the terminal can use the terminal. It can be provided that the terminal independently checks whether a user whose authentication token is currently inserted in the terminal is actually authorized to use the terminal.
  • the value or security document is an electronic identification document, in particular a passport, identity card, visa, driver's license, vehicle registration document, vehicle registration document, company ID card, a health card, signature cards, SIM cards and/or an electronic means of payment, in particular a Bank note, bank card, credit card, bill of lading and/or other proof of entitlement.
  • an electronic identification document in particular a passport, identity card, visa, driver's license, vehicle registration document, vehicle registration document, company ID card, a health card, signature cards, SIM cards and/or an electronic means of payment, in particular a Bank note, bank card, credit card, bill of lading and/or other proof of entitlement.
  • Figure 1a 13 shows an EF 132 with a predefined physical memory length, which represents the block of memory reserved for the EF 132.
  • FIG. The physical end 166 designates the physical end of the reserved memory block. Since no personalization data 140 is stored, the logical end of file 141 is zero. Is a file 162, as in Figure 1b shown, longer than the predefined physical storage length of the EF 132, ie if the logical end 163 of the second personalization data 162 to be stored is beyond the physical end 166, the update process is aborted.
  • Figure 1c shows an EF 132 with first personalization data 140, the end of which defines the logical end 141.
  • Figure 1d 12 shows a case where the logical end 164 of the updated personalization data, which corresponds to the logical end 163 of the second personalization data 162, lies beyond the logical end 141 of the first personalization data 140.
  • the second personalization data 162 is longer than the first personalization data 140.
  • Figure 1e shows a situation when first personalization data 140 is overwritten with second personalization data 162, in which the second personalization data 162 is shorter than the first personalization data 140.
  • the logical end 163 of the second personalization data 162 ie the logical end 164 of the updated personalization data, lies before the logical end 141 of the first personalization data 140 Residual data 170 are also read out, the logical end 163 of the second personalization data 162 is identified as the logical end 164 of the updated personalization data.
  • the pointer 136 is updated accordingly, so that it points to the logical end 163 or 164.
  • the figure 2 shows a system 100 from a terminal 102 and a value or security document 110 in the form of a chip card.
  • the terminal 102 contains a communication interface 108, a processor 104 and a memory 101 for temporarily storing second personalization data 162.
  • the memory 101 can be a non-volatile flash-based memory, for example.
  • the terminal 102 shown also includes an authentication token 107, a reload token 105, a further communication interface 109 and an energy source 103.
  • the authentication token 107 and the second communication interface 109 are optional features of the terminal 102.
  • the energy source 103 can be, for example, a battery or a power-generating unit such as a fuel cell or a solar cell.
  • a closed energy source 103 could have the advantage that the terminal 102 can be made completely self-sufficient on the one hand and portable on the other.
  • the energy source 103 can also be a power pack or some other type of connection to an external energy supply.
  • a combination of external and internal energy supply is also possible, which would improve the failsafety of the terminal 102.
  • the memory 101 can be both a volatile and a non-volatile memory. In this context, it can be useful for the memory 101 to be configured as a volatile memory for the temporary storage of second personalization data 162 . This would have the particular advantage that after the terminal 102 has been switched off and the personalization data on the value or security document 110 has been successfully updated, the second personalization data 162 stored in the terminal 102 for the update is automatically updated would be deleted. This would prevent the second personalization data 162 from being misused by subsequent reading out of the terminal 102 .
  • the value or security document 110 includes a chip card operating system 118 and a chip card file system 117 with a logical data structure that includes EFs 132, 142 with personalization data 140,150.
  • Control data 128, 134, 144 are also stored in the chip card file system 117, wherein the control data 128 can be assigned to an MF 126, while the control data 134 and 144 are each assigned to an EF 132, 142 and thus to a set of personalization data 140, 150.
  • the control data 134 and 144 also each include a pointer that refers to the logical end 136, 146 of the associated personalization data 140, 150 (not claimed embodiment).
  • communication between the terminal 102 and the value or security document 110 is made possible by the communication interface 108 of the terminal 102 .
  • the value or security document 110 can be addressed through the communication interface 108, as a result of which an updating or reloading process can be initiated.
  • the communication interface 108 can be configured in accordance with ISO 14443, for example.
  • a corresponding application program 106 can be provided in the processor 104 of the terminal 102 for this purpose.
  • a mutual exchange of security certificates can be provided in the course of the authentication method, which are stored in the memory 124 of the value or security document 110 or in a corresponding authentication token 107 of the terminal 102 .
  • the authentication methods that are possible within the meaning of the present invention are not limited to this.
  • the processor 104 of the Terminals 102 store second personalization data 162, which are stored, for example, in the reload token 105 of the terminal 102, in the memory 124 of the value or security document 110.
  • an indicator ID is also transmitted to the value or security document 110, for example as part of a corresponding APDU 158, in which the value or security document 110 about the identity of the storage of the second personalization data 162 provided EFs 132 is informed.
  • the further communication interface 109 of the terminal 102 can be configured for the administration of the terminal 102, for example.
  • the communication interface 109 can be an Ethernet connection, for example.
  • the authentication token 107 and the reload token 105 can be designed both as a software token and as a hardware token, for example in the form of a chip card for insertion into the terminal 102 .
  • the reload token 105 can be supplied by a manufacturer of the value or security document to be updated.
  • the reload token 105 can be permanently installed in the terminal 102 so that manufacturer-specific update data would have to be transmitted to the terminal 102 via the communication interface 109 .
  • the reload token 105 can also be configured as a storage area within the terminal 102 . Accordingly, second personalization data 162 can be stored in the memory 101 and/or in the reload token 105 . Different update data can also be stored in memory 101 and in reload token 105 .
  • the communication interface 108 via which communication between the terminal 102 and the value or security document 110 is to be ensured, can additionally have a mechanical feeder for partially or completely receiving the value or security document 110 in the terminal 102.
  • the collection can be such that the valuable or security document 110 is withdrawn at least for the duration of the reloading process before removal the terminal 102 by a user. This ensures uninterrupted communication and power supply during the reloading process.
  • the terminal 102 is configured to replace at least parts of the personalization data 140, 150 stored in the value or security document 110 in the course of a reloading process.
  • the reloading process is a multi-part process that is preceded by an initialization.
  • the second personalization data 162 for updating is either uploaded to the terminal 102 as a software token via the communication interface 109 or introduced into the terminal 102 as a hardware token 105 .
  • the figure 3 shows a chip card system 100 with a terminal 102.
  • the terminal 102 can be, for example, a reading device for an official document, in particular for an electronic identity card, an electronic residence permit or an electronic passport.
  • Terminal 102 has a processor 104 for executing an application program 106, which is interoperable with a value or security document 110 in the form of a chip card, and an interface 108 for establishing a communication link with a corresponding interface 112 of chip card 110.
  • the interfaces 108 and 112 are configured as contactless interfaces, in particular as RFID or NFC interfaces.
  • the chip card 110 preferably does not have its own energy supply, but is supplied with electrical energy by coupling electromagnetic energy from the interface 108 into the interface 112, for which purpose the interface 112 has an antenna.
  • the smart card 110 has a processor 114 for executing a program module 116 for the authentication of the terminal 102 or the mutual authentication of the terminal 102 and the smart card 110.
  • the program module 116 for example, those steps of a challenge-response protocol implement, which concern the chip card 110, wherein the application program 106 can then implement those steps of the challenge-response protocol, which concern the terminal 102.
  • Another possibility is authentication by means of a secret identifier, for example a so-called PIN, which a user enters into the terminal and which is checked by the program module 116, for example according to the PACE protocol, as specified by the Federal Office for Information Security (BSI) has been specified.
  • BSI Federal Office for Information Security
  • the processor 114 is also used to run a chip card operating system 118 and has a volatile main memory 120.
  • the processor 116 is connected to the interface 112 of the chip card 110 and via an internal data bus 122 to a non-volatile, protected electronic memory 124.
  • Files of a chip card file system 117 are stored in the memory 124 and form a file tree.
  • the figure 3 shows an example of a MF 126 of the file tree, not according to the invention, which contains control data 128 including a pointer 130 to a successor node, ie the EF 132 .
  • the unclaimed EF 132 also includes control data 134, including a pointer 138 to its child node in the file tree, namely an EF 142, and a pointer 136 to the logical end of the personalization data 140 also stored in the EF 132.
  • a structure analogous thereto has unclaimed EF 142, which includes control data 144, including a pointer 146 to the logical end of the personalization data 150 also stored in the EF 142 and a pointer 148 to one in the figure 3 child nodes, not shown, of EF 142 in the file tree.
  • the chip card 110 receives second personalization data 162 from the terminal 102, for example by the application program 106 sending a command APDU 158 from the interface 108 to the interface 112, which contains the second personalization data 162 and a specification ID of the EF of the chip card file system 117 whose personalization data are to be changed.
  • the following is an example assumed that this is the EF 132 or its personalization data 140.
  • a flag F 152 is shown in the memory 124, which the chip card operating system 118 initially sets at the beginning of the update process and deletes it again after its completion. Furthermore, together with the flag F 152, a log file P can also be created in the memory 124 in order to log the steps of the update process.
  • the terminal 102 is activated.
  • activation can take place by actuating a power switch, or the terminal 102 can be configured in such a way that it is woken up from an idle state when a value or security document 110 is inserted into a corresponding mechanical feeder.
  • An operator authentication can then be provided, for example by means of a password query, which, if successful, initiates the update process.
  • the terminal 102 must have a suitable input option, such as a keyboard, and the authentication token 107 .
  • the terminal 102 After the terminal 102 has been activated, energy is transferred to the value or security document 110, whereby the value or security document 110 is also activated. A communication channel is then set up between the terminal 102 and the value or security document 110 . This can be done, for example, by inserting the value or security document 110 into the slot of a card reader or by setting up a wireless connection.
  • the terminal 102 and the value or security document 110 are then mutually authenticated, so that a secure channel can be set up between the terminal 102 and the value or security document 110 .
  • corresponding authentication data can be stored in the terminal 102, for example in the authentication token 107, which are used in the course of the mutual authentication.
  • a necessary authorization of the terminal 102 for reloading data into the value or security document 110 is obtained by the authentication of the terminal 102 with respect to the value or security document 110 .
  • the terminal 102 transmits cryptographic information to the value or security document 110 as proof of an access authorization, the transmitted cryptographic information fulfilling a cryptographic access condition of the EF 132.
  • the terminal In a subsequent method step, the terminal generates or activates an already existing key for encrypting all or part of the second personalization data 162 and the associated write command.
  • the second personalization data 162 and the associated write command are then transmitted in encrypted form from the terminal 102 to the value or security document 110 via the secure channel.
  • the second personalization data 162 on the value or security document 110 is then decrypted and written to the EF 132 in accordance with the write command in order to update the first personalization data 140 .
  • the pointer 136 is updated to point to the logical end 164 of the updated personalization data.
  • the successful implementation of the update is confirmed by the value or security document 110 to the terminal 102 by transmitting a response with a write confirmation.
  • connection and the secure channel between the terminal 102 and the value or security document 110 are then cleared and the power supply is terminated. As a result, the value or security document 110 is deactivated.
  • the value or security document 110 was drawn into a corresponding mechanical feeder of the terminal 102, the value or security document 110 is issued and the terminal 102 is deactivated again.
  • the procedure for updating the personalization data 140 of the EF 132 can be as follows, for example, as in FIG figure 5 shown:
  • the terminal 102 is first authenticated with respect to the chip card 110.
  • an authorization check can also be carried out, namely whether the terminal 102 has the necessary rights to change personalization data 140. This can be done, for example, by the terminal 102 transmitting an authorization certificate to the chip card 110, the rights of the terminal 102 to change the personalization data 140 being specified in the authorization certificate.
  • the authorization certificate contains cryptographic information that satisfies a cryptographic access condition of the EF 132 defined in the control data 134 .
  • the chip card 110 receives second personalization data 162 from the terminal 102, for example by the application program 106 sending a command APDU 158 from the interface 108 to the interface 112, which contains the second personalization data 162 and also a specification ID of the EF of the Chip card file system whose first personalization data are to be changed.
  • This is, for example, the EF 132 or its personalization data 140 without loss of generality.
  • step 504 the chip card operating system 118 sets a flag F 152 in the memory 124.
  • a log file P can also be created in the memory 124 to log the subsequent steps of the update process.
  • step 506 the chip card operating system 118 accesses the memory 124 via the internal data bus 122 and partially overwrites the first personalization data 140 with the second personalization data 162 of the APDU 158, thereby replacing the previous version of the personalization data 140.
  • the second personalization data 162 is shorter in this case than the first personalization data 140, so only partial overwriting occurs.
  • a remainder of the previous version of the personalization data 140 remains in the EF 132 and is arranged immediately following the logical end 163 of the second personalization data 162, the logical end 163 of the second personalization data 162 in the present case being aligned with the logical end 164 of the updated personalization data coincides.
  • the command APDU 158 contains the personalization data 162 and an identifier (ID) 160 of that file whose personalization data are to be changed, here the EF 132 whose personalization data 140 are to be changed.
  • ID an identifier
  • step 508 the pointer 136 is then updated so that it no longer points to the logical end 141 of the personalization data 140 but to the logical end 164 of the updated personalization data.
  • the logical end 163 of the second personalization data 162 coincides with the logical end 164 of the updated personalization data. The rest of the data in the data system can remain unchanged.
  • the flag 152 is reset in step 510 and the log file 154 is deleted.
  • step 512 a reply with a write confirmation is generated from the value or security document and sent to the terminal 102 in step 514 via the contactless communication interface 112 .
  • Steps 600, 602, 604, and 606 correspond to steps 500, 502, 504, and 506 of FIG figure 5 .
  • Step 606 is followed by step 607, in which it is checked on the basis of an indicator in the write command whether it is a final write command or whether further write commands follow. If another write command follows, step 606 is repeated with the following write command. The corresponding loop is run through until a corresponding indicator identifies a write command as the final write command. In this case the method continues with step 608 .
  • the further steps 608, 610, 612 and 614 correspond to the steps 508, 510, 512 and 514 from figure 5 .
  • Figures 7a to 7c Schematic representations of an update method according to the invention are shown.
  • Figure 7a shows an EF 132, which has first personalization data 140.
  • This personalization data 140 is divided into three sections 140', 140' and 140'.
  • the logical end 141 of the first personalization data 140 is defined by the end of the third section 140′′′.
  • the third section 140′′′ is to be retained.
  • the corresponding write command has an offset value, which 'corresponds to the length of the first section 140.
  • residual data 170 remains at the end of the updated data block, but this can be ignored by setting the pointer 136 to the end of the shifted subsection 140′′′.
  • the end of the shifted third section 140′′′ is thus defined as the logical end 164 of the updated personalization data.
  • the residual data 170 between the logical end 164 and the logical end 141 of the first personalization data will no longer be read out in future read-out processes, since a read-out only takes place up to the point specified by the pointer 136 .

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • Mathematical Physics (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Storage Device Security (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

Die Erfindung betrifft ein Verfahren zum Aktualisieren von Personalisierungsdaten eines Wert- oder Sicherheitsdokuments, wobei es sich bei dem Wert- oder Sicherheitsdokument insbesondere um ein hoheitliches Wert- oder Sicherheitsdokument handeln kann.The invention relates to a method for updating personalization data of a valuable or security document, wherein the valuable or security document can in particular be a sovereign valuable or security document.

Hoheitliche Wert- oder Sicherheitsdokumente werden im Stand der Technik oft als Chipkarte implementiert, wie zum Beispiel der elektronische Reisepass, der elektronische Personalausweis und der elektronische Aufenthaltstitel der Bundesrepublik Deutschland.In the state of the art, sovereign value or security documents are often implemented as chip cards, such as the electronic passport, the electronic identity card and the electronic residence permit of the Federal Republic of Germany.

Im Stand der Technik ist eine Vielzahl von Dokumenten, insbesondere Sicherheits- oder Ausweisdokumente bekannt, welche als Chipkarte mit einer Rechenlogik ausgeführt sind. Dabei werden üblicherweise in einem nicht-flüchtigen Speicherbereich der Chipkarte Personalisierungsdaten wie beispielsweise Passbilder, Fingerabdrücke oder Ähnliches gespeichert, welche durch einen Prozessor der Chipkarte beispielsweise im Zuge eines Authentifizierungsverfahrens zur Feststellung der Identität eines Dokumenteninhabers benutzt werden können.A large number of documents, in particular security or identification documents, are known in the prior art, which are designed as chip cards with arithmetic logic. In this case, personalization data such as passport photos, fingerprints or the like are usually stored in a non-volatile memory area of the chip card, which can be used by a processor of the chip card, for example in the course of an authentication process to determine the identity of a document owner.

Beschreibbare Dateien auf Wert- oder Sicherheitsdokumenten, beispielsweise in Form von Chipkarten, zum Abspeichern von Personalisierungsdaten und zur Personalisierung des Wert- oder Sicherheitsdokuments sind durch eine physikalische Speicherlänge mit einem physikalischen Dateiende gekennzeichnet. Eine entsprechende Datei weist eine vordefinierte physikalische Speicherlänge auf, welche dem angelegten Speicherplatz entspricht. Werden in der Datei Personalisierungsdaten abgespeichert, so weist die Datei zusätzlich ein logisches Dateiende auf. Das logische Dateiende gibt das Ende eines logisch zusammengehörenden Abschnitts des belegten Speicherplatzes an. Das physikalische Dateiende gibt dem gegenüber an, wie viele Daten maximal in die Datei geschrieben werden können, d. h. es entspricht dem Ende des Speicherblocks, der für die entsprechende Datei reserviert ist. Das logische Dateiende gibt demgegenüber an, bis zu welchem Punkt des Speicherblocks die Datei bereits gefüllt ist und bis zu welcher Position die Datei auszulesen ist. Bei einem vollständig gefüllten Speicherblock, d. h. einer vollständig mit gespeicherten Daten gefüllten Datei, fallen das physikalische Dateiende und das logische Dateiende zusammen.Writable files on value or security documents, for example in the form of chip cards, for storing personalization data and for personalizing the value or security document are characterized by a physical storage length with a physical file end. A corresponding file has a predefined physical storage length, which corresponds to the storage space created. If personalization data is stored in the file, the file also has a logical end of file. The logical end of file indicates the end of a logically related section of the occupied storage space. The physical end of file, on the other hand, specifies the maximum amount of data that can be written to the file, i. H. it corresponds to the end of the memory block reserved for the corresponding file. The logical end of file, on the other hand, indicates up to which point in the memory block the file is already filled and up to which position the file is to be read. With a completely filled memory block, i. H. a file completely filled with stored data, the physical end of file and the logical end of file coincide.

Sollen nun die in einem Elementary File gespeicherten Daten durch neue Daten aktualisiert, d. h. ersetzt werden, so kann es zu Problemen kommen, wenn die aktualisierten Daten, mit denen die ursprünglichen Daten überschrieben werden, kürzer als die ursprünglichen Daten sind. In diesem Fall folgen auf die neu geschriebenen Personalisierungsdaten Restdaten der ursprünglichen Personalisierungsdaten. Beim Auslesen kann es passieren, dass mehr Daten ausgelesen werden, als eigentlich erwartet werden, da die überschüssigen Restdaten mit ausgelesen werden.If the data stored in an elementary file is to be updated, ie replaced, by new data, problems can arise if the updated data, with which the original data is overwritten, is shorter than the original data. In this case, the newly written personalization data is followed by residual data from the original personalization data. When reading out, it can happen that more data is read out than actually expected, since the excess residual data is also read out.

Eine gängige Hilfskonstruktion in diesem Fall ist es, den kompletten Speicherblock, d. h. die komplette Datei, zunächst mit Nullen zu überschreiben, wodurch das logische Dateiende mit dem physikalischen Dateiende übereinstimmt. Erst nach diesem Vorgang werden die zu aktualisierenden Daten in den Speicherblock geschrieben. Damit ist in der Regel zu erkennen, wo die aktualisierten Daten enden. Jedoch entspricht der Dateninhalt der aktualisierten Daten dennoch nicht dem geschriebenen Inhalt, da beim Auslesen des geschriebenen Inhalts auch die angefügten Nullen gelesen werden könnten.A common auxiliary construction in this case is to use the complete memory block, i. H. the complete file, first to be overwritten with zeros, whereby the logical file end corresponds to the physical file end. Only after this process is the data to be updated written to the memory block. This usually shows where the updated data ends. However, the data content of the updated data does not correspond to the written content, since the added zeros could also be read when the written content is read out.

Zu Problemen können die überschüssigen Nullen insbesondere führen, wenn die Chipkarte z.B. eine Signatur über den Inhalt einer Datei erstellen und diese Signatur später außerhalb der Karte geprüft werden soll. In diesem Fall ist nicht ersichtlich, ob die entsprechenden Nullen ein logischer Bestandteil der signierten Daten sind oder nicht. Dies kann zu Problemen bei der Signaturprüfung entsprechender Dateien führen.The excess zeros can lead to problems in particular if the chip card is to create a signature for the content of a file, for example, and this signature is later to be checked outside the card. In this case, it is not clear whether the corresponding zeros are a logical part of the signed data or not. This can lead to problems when checking the signature of the corresponding files.

Zudem bedeutet das zwangsläufige Auslesen überschüssiger Restdaten eine Erhöhung des Arbeitsaufwands beim Auslesen der Inhalte entsprechender Dateien.In addition, the inevitable reading of excess residual data means an increase in the workload when reading out the contents of the corresponding files.

Aus dem Stand der Technik sind zwar Dateistrukturen bekannt, welche eine Längenangabe eines logisch zusammengehörenden Dateiabschnitts umfassen, z. B. TLV-Dateien. Sind mehrere solcher TLV-Dateien als hintereinander angeordnete Dateistrukturen konfiguriert, ist ohne weitere Informationen nicht ersichtlich, ob es sich bei Daten, die sich jeweils unmittelbar an die durch in die Längenangabe abgegrenzten logischen Dateistrukturen anschließen, um zu vernachlässigende Restdaten oder um weitere sinnvoll logisch zusammenhängende Datenabschnitte handelt.File structures are known from the prior art which include a length specification of a logically related file section, e.g. B. TLV files. If several such TLV files are configured as file structures arranged one after the other, it is not clear without further information whether the data that are directly connected to the logical file structures delimited by the length specification are negligible residual data or other meaningful, logically related data data sections.

Wolfgang Rankl et al. beschreiben in dem "Handbuch der Chipkarten: Aufbau-Funktionsweise - Einsatz von Smart Cards", 4. Auflage, 1. Januar 2002 , Chipkarten sowie TLV strukturierte Daten. Wolfgang Rankl et al. described in the "Handbook of Smart Cards: Structure - Functionality - Use of Smart Cards", 4th edition, January 1, 2002 , chip cards and TLV structured data.

Der Erfindung liegt demgegenüber die Aufgabe zugrunde, ein verbessertes Verfahren zum Aktualisieren von Personalisierungsdaten eines Wert- oder Sicherheitsdokuments zu schaffen, welches insbesondere auch eine sichere Änderung der Personalisierungsdaten bei hoheitlichen Anwendungen ermöglicht.In contrast, the invention is based on the object of creating an improved method for updating personalization data of a value or security document, which in particular also enables the personalization data to be changed securely in sovereign applications.

Die der Erfindung zugrunde liegende Aufgabe wird mit den Merkmalen der unabhängigen Patentansprüche gelöst. Ausführungsformen der Erfindung sind in den abhängigen Patentansprüchen angegeben. Sofern nicht ausdrücklich Gegenteiliges zum Ausdruck gebracht wird, können Ausführungsformen der Erfindung frei miteinander kombiniert werden.The object on which the invention is based is achieved with the features of the independent patent claims. Embodiments of the invention are specified in the dependent claims. Unless expressly stated to the contrary, embodiments of the invention can be freely combined with one another.

Unter einem "Wert- oder Sicherheitsdokument" werden erfindungsgemäß papierbasierte und/oder kunststoffbasierte Dokumente verstanden, beispielsweise in Form von Chipkarten. Wert- oder Sicherheitsdokumente umfassen zum Beispiel elektronische Ausweisdokumente, insbesondere Reisepässe, Personalausweise, Aufenthaltstitel, Visa sowie Führerscheine, Fahrzeugscheine, Fahrzeugbriefe, Firmenausweise, Gesundheitskarten, Signaturkarten, SIM-Karten oder andere ID-Dokumente, Zahlungsmittel, insbesondere Banknoten, Bankkarten und Kreditkarten, Frachtbriefe oder sonstige Berechtigungsnachweise, in die ein Datenspeicher zur Speicherung des zumindest einen Attributs integriert ist.According to the invention, a “value or security document” is understood to mean paper-based and/or plastic-based documents, for example in the form of chip cards. Valuable or security documents include, for example, electronic ID documents, in particular passports, identity cards, residence permits, visas and driving licenses, vehicle registration documents, vehicle registration documents, company ID cards, health cards, signature cards, SIM cards or other ID documents, means of payment, in particular banknotes, bank cards and credit cards, bills of lading or other proofs of entitlement, in which a data store for storing the at least one attribute is integrated.

Ein Wert- oder Sicherheitsdokument umfasst insbesondere eine "Chipkarte", welche zumindest einen Datenspeicher zur Speicherung zumindest eines Attributs bzw. eines Personalisierungsdatums und eine Kommunikations-Schnittstelle zum Auslesen des Attributs bzw. Personalisierungsdatums aufweist. Vorzugsweise hat das Dokument, beispielsweise in Form einer Chipkarte, einen gesicherten Speicherbereich zur Speicherung des zumindest einen Attributs, um zu verhindern, dass das in dem Speicherbereich gespeicherte Attribut in unerlaubter Weise verändert oder ohne die dafür erforderliche Berechtigung ausgelesen wird.A value or security document comprises in particular a "chip card" which has at least one data memory for storing at least one attribute or personalization data and a communication interface for reading out the attribute or personalization data. The document preferably has a secure memory area, for example in the form of a chip card, for storing the at least one attribute, in order to prevent the attribute stored in the memory area from being changed in an unauthorized manner or read out without the authorization required for this.

Unter einem "geschützten Speicher" wird im Folgenden ein insbesondere nichtflüchtiger elektronischer Speicher verstanden, welcher einen Zugriff auf in dem Speicher gespeicherte Daten nur nach Überprüfung einer kryptografischen Zugangsbedingung zulässt. Ferner kann ein geschützter Speicher über eine Zugriffsverwaltung verfügen, welche bestimmten Nutzern, welche eine entsprechende Zugriffsberechtigung haben, den Zugriff auf in dem Speicher gespeicherte Daten nach Identifikation des Nutzers gewährt. Es ist jedoch nicht möglich, die Daten ohne entsprechende Berechtigung aus dem geschützten Speicher auszulesen oder zu schreiben.In the following, a “protected memory” is understood to mean, in particular, a non-volatile electronic memory which allows access to data stored in the memory only after a cryptographic access condition has been checked. Furthermore, a protected memory can have access management, which allows specific users who have appropriate access authorization to access the memory stored data granted after identification of the user. However, it is not possible to read or write the data from the protected memory without the appropriate authorization.

Bei dem Speicher des Wert- oder Sicherheitsdokuments handelt es sich nach einer Ausführungsform um einen geschützten Speicher.According to one embodiment, the memory of the value or security document is a protected memory.

Es sind verschiedene Chipkartenbetriebssysteme mit einem hierarchischen Chipkartendateisystem bekannt, wie beispielsweise in der ISO/IEC 7816-4 festgelegt. Ein solches Chipkartendateisystem hat in der Regel ein Root-Verzeichnis mit der Bezeichnung "Masterfile", abgekürzt MF. Ferner hat ein Chipkartendateisystem Verzeichnisdateien, sogenannte "Dedicated Files", abgekürzt DFs. Das MF ist eine besondere Form des DF. Eine Datendatei ist eine von einem DF abhängige Datei, welche auch als Elementary File, abgekürzt EF bezeichnet wird.Various chip card operating systems with a hierarchical chip card file system are known, as specified in ISO/IEC 7816-4, for example. Such a chip card file system usually has a root directory called "Masterfile", abbreviated MF. Furthermore, a chip card file system has directory files, so-called "dedicated files", DFs for short. The MF is a special form of the DF. A data file is a file dependent on a DF, which is also referred to as an elementary file, abbreviated to EF.

Bei JavaCard-OS beispielsweise muss ein MF aber nicht zwingend vorhanden sein. Dann verwaltet jede Applikation ihre Daten in einem DF ohne übergeordnetes MF. Die Wurzel des DF wird dann mittels eines Application Identifiers (AID) direkt beim Wählen der Applikation gesetzt. Ein Master File ist somit ein Sonderfall eines Dedicated Files und stellt den gesamten in einer Chipkarte bzw. einem Wert- oder Sicherheitsdokument für den Datenbereich verfügbaren Speicher dar.With JavaCard-OS, for example, an MF does not necessarily have to be present. Then each application manages its data in a DF without a higher-level MF. The root of the DF is then set using an application identifier (AID) directly when the application is selected. A master file is therefore a special case of a dedicated file and represents the entire memory available in a chip card or a value or security document for the data area.

Das Chipkartendateisystem kann auch Datenobjekte beinhalten, auf die prinzipiell kein externer Zugriff erfolgen kann. Beispielsweise beinhaltet ein solches Datenobjekt einen Schüssel, insbesondere einen privaten Schlüssel eines asymmetrischen kryptografischen Schlüsselpaars, ein Passwort und/oder kryptographische Parameter. Solche internen Datenobjekte werden auch als Internal EF bezeichnet.The chip card file system can also contain data objects which, in principle, cannot be accessed externally. For example, such a data object contains a key, in particular a private key of an asymmetric cryptographic key pair, a password and/or cryptographic parameters. Such internal data objects are also referred to as Internal EF.

Sowohl ein EF als auch ein DF können Kontrolldaten beinhalten, wie zum Beispiel eine Zugriffsbedingung auf das EF bzw. auf die von einem DF abhängigen Dateien. Personalisierungsdaten sind im Allgemeinen in den EFs gespeichert.Both an EF and a DF can contain control data, such as an access condition to the EF or to the files dependent on a DF. Personalization data is generally stored in the EFs.

Unter "Kontrolldaten" eines Wert- oder Sicherheitsdokument werden im Gegensatz zu Personalisierungsdaten die zugeordneten Verwaltungsdaten verstanden, die insbesondere mindestens eine Zugriffsbedingung für den Zugriff auf die Personalisierungsdaten festlegen. Ferner können die Kontrolldaten auch eine Angabe der Position der betreffenden Datei in dem Chipkartendateisystem beinhalten, beispielsweise in Form eines Zeigers auf den jeweiligen Nachfolgerknoten in dem Dateibaum der Chipkarte bzw. des Wert- oder Sicherheitsdokuments, sowie z.B. einen File Identifier (FID) und einen Application Identifier (AID).In contrast to personalization data, "control data" of a value or security document is understood to mean the assigned administrative data which, in particular, define at least one access condition for access to the personalization data. Furthermore, the control data can also contain an indication of the position of the file in question in the chip card file system, for example in the form of a pointer to the respective successor node in the file tree of the chip card or of the value or security document, as well as e.g. a file identifier (FID) and an application Identifier (AID).

Unter "Personalisierungsdaten" werden dabei sämtliche im Dateisystem des Chipkartenbetriebssystems gespeicherten Daten verstanden, die zur Laufzeit vom Chipkartenbetriebssystem nur intern verwendet werden können (z.B. Schlüssel und zugehörige kryptografische Parameter) oder unter Einhaltung der in den Kontrolldaten gespeicherten Zugriffsbedingungen ausgelesen werden können (z.B. Daten des Inhabers). Insbesondere werden unter "Personalisierungsdaten" hier solche Daten verstanden, die ein mit der Chipkarte bzw. einem Wert- oder Sicherheitsdokument interoperables Anwendungsprogramm eines Terminals benötigen, wie zum Beispiel biometrische Daten, insbesondere Fingerabdruckdaten, Gesichtsbiometriedaten und/oder Irisscandaten, die ein Terminal für eine biometrische Authentifizierung benötigt. Solche sensitiven Personalisierungsdaten dürfen nur nach vorheriger Authentifizierung des Terminals aus der Chipkarte bzw. dem Wert- oder Sicherheitsdokument ausgelesen werden, wobei die hierzu erforderlichen kryptografischen Zugriffsbedingungen durch die jeweiligen Kontrolldaten spezifiziert werden."Personalization data" is understood to mean all data stored in the file system of the chip card operating system that can only be used internally by the chip card operating system at runtime (e.g. key and associated cryptographic parameters) or can be read out in compliance with the access conditions stored in the control data (e.g. data of the owner ). In particular, "personalization data" is understood to mean data that requires a terminal application program that is interoperable with the chip card or a value or security document, such as biometric data, in particular fingerprint data, facial biometric data and/or iris scan data that a terminal needs for a biometric authentication required. Such sensitive personalization data may only be read from the chip card or value or security document after prior authentication of the terminal, with the cryptographic access conditions required for this being specified by the respective control data.

Insbesondere bei Chipkarten erfolgt üblicherweise die Stromversorgung der Prozessormittel der Chipkarte über eine RFID-Schnittstelle durch ein Terminal. Würde nun das Dokument während eines Aktualisierungsvorgangs zu früh aus dem Terminal entnommen, würde die Stromversorgung des Dokuments unterbrochen und ein möglicherweise angestoßener Aktualisierungsvorgang könnte nicht fertiggestellt werden. Hierdurch könnte unter Umständen das Dokument unbrauchbar werden. Ausführungsformen der Erfindung könnten den Vorteil haben, dass dieses Risiko effektiv vermieden werden kann, indem das Dokument beispielsweise in einem Schlitz oder einer andersartigen mechanischen Aufnahme des Terminals vollständig aufgenommen und somit vor einem Zugriff durch einen Benutzer geschützt ist. Nach Beenden des Nachladevorgangs könnte dann das Dokument aus der mechanischen Aufnahme des Terminals ausgeworfen werden.In the case of chip cards in particular, the power supply for the processor means of the chip card is usually provided by a terminal via an RFID interface. If the document were to be removed from the terminal too early during an update process, the power supply to the document would be interrupted and any update process that might have been triggered could not be completed. This could potentially make the document unusable. Embodiments of the invention could have the advantage that this risk can be effectively avoided by the document for example in a Slot or another type of mechanical recording of the terminal is fully included and thus protected from access by a user. After the end of the reloading process, the document could then be ejected from the mechanical receptacle of the terminal.

Dabei kann bei Verwendung einer kontaktlosen Kommunikation zwischen Terminal und Dokument trotz Verwendung einer mechanischen Aufnahme der Verschleiß des Dokuments auf ein Minimum reduziert werden. Die Kontaktfläche zwischen Dokument und Aufnahme des Terminals ist für die Kommunikation zwischen Dokument und Terminal, sowie für die Einkopplung von Energie zum Betrieb des Dokuments irrelevant. Somit führen Reibungseffekte auf der Oberfläche des Dokumentenkörpers nicht zu einer Beeinträchtigung der Funktionsfähigkeit des Dokuments. Gleichzeitig kann durch die Kombination einer mechanischen Aufnahme mit einer kontaktlosen Kommunikation die Integrität der auf dem Dokument gespeicherten Daten gewahrt werden, da ein vorzeitiges Entfernen des Dokuments aus dem Terminal ausgeschlossen werden kann. Hierdurch kann während des Aktualisierungsvorgangs eine unterbrechungsfreie Kommunikation und Energiezufuhr gewährleistet werden.When using contactless communication between the terminal and the document, the wear and tear on the document can be reduced to a minimum despite the use of a mechanical holder. The contact surface between the document and the holder of the terminal is irrelevant for the communication between the document and the terminal, as well as for the coupling of energy to operate the document. Thus, friction effects on the surface of the document body do not impair the functionality of the document. At the same time, by combining mechanical recording with contactless communication, the integrity of the data stored on the document can be preserved, since premature removal of the document from the terminal can be ruled out. This ensures uninterrupted communication and power supply during the update process.

Ausführungsformen der Erfindung können den Vorteil haben, dass durch den im Chipkartendateisystem gespeicherten Zeiger das logische Ende der Personalisierungsdaten in den EFs eindeutig definiert wird. Somit wird eindeutig festgelegt, bis zu welchem Punkt das EF auszulesen ist. Daten, die hinter dem durch den Zeiger festgelegten logischen Ende angeordnet sind, werden nicht ausgelesen und können somit nicht zu Unklarheiten führen. Zudem kann dadurch sichergestellt werden, dass keine unnötigen Auslesevorgänge durchgeführt werden bzw. keine unnötig umfangreichen Datenmengen ausgelesen werden. Somit wird die Effizienz des Lesevorgangs erhöht.Embodiments of the invention can have the advantage that the logical end of the personalization data in the EFs is clearly defined by the pointer stored in the chip card file system. This clearly defines the point up to which the EF is to be read. Data that is arranged after the logical end defined by the pointer is not read out and can therefore not lead to ambiguities. In addition, it can be ensured in this way that no unnecessary reading processes are carried out or no unnecessarily extensive amounts of data are read out. Thus, the efficiency of the reading process is increased.

Bei den Personalisierungsdaten kann es sich beispielsweise um eine Adresse des Inhabers des Wert- oder Sicherheitsdokuments handeln. Bei einem Umzug ergibt sich die Notwendigkeit, die bisher abgespeicherten Personalisierungsdaten, die die alte Adresse enthalten, mit Personalisierungsdaten zu aktualisieren, die die neue Adresse enthalten.The personalization data can be, for example, an address of the owner of the value or security document. When moving, there is a need for the previously saved personalization data containing old address with personalization data containing the new address.

Nach einer Ausführungsform ist das DF ein MF. Nach einer weiteren Ausführungsform sind in dem MF weitere Dateien, EFs und/oder DFs, zusammengefasst, wobei die DFs wiederum jeweils mindestens ein EF umfassen können.According to one embodiment, the DF is an MF. According to a further embodiment, further files, EFs and/or DFs, are combined in the MF, it being possible for the DFs in turn to each comprise at least one EF.

Nach einer nicht erfindungsgemäßen Ausführungsform ist der Zeiger in den Kontrolldaten des zugehörigen EFs gespeichert.According to an embodiment not according to the invention, the pointer is stored in the control data of the associated EF.

Dies kann den Vorteil haben, dass der Zeiger unmittelbar dem zugehörigen EF zugeordnet ist und im Zuge des Zugriffs auf das EF direkt ausgelesen werden kann.This can have the advantage that the pointer is directly assigned to the associated EF and can be read out directly in the course of accessing the EF.

Erfindungsgemäß umfasst das DF eine Mehrzahl von EFs und eine Zeigertabelle, wobei die Zeigertabelle jedem EF einen Zeiger zuordnet, welcher das logische Ende der in dem zugeordneten EF gespeicherten Personalisierungsdaten angezeigt.According to the invention, the DF comprises a plurality of EFs and a pointer table, the pointer table associating each EF with a pointer which indicates the logical end of the personalization data stored in the associated EF.

Ausführungsformen der Erfindung können den Vorteil haben, dass die Zeigerinformationen in einer zentralen Zeigertabelle bereitgestellt werden, wodurch die Übersichtlichkeit des Systems erhöht wird.Embodiments of the invention can have the advantage that the pointer information is provided in a central pointer table, which increases the clarity of the system.

Die vorliegende Erfindung ist insbesondere vorteilhaft, falls die aktualisierten Personalisierungsdaten kürzer als die vorhergehenden Personalisierungsdaten sind. Aber auch im Falle, dass die aktualisierten Personalisierungsdaten länger sind und das logische Ende somit nach hinten verschoben wird, bietet die vorliegende Erfindung den Vorteil, dass das logische Dateiende der aktualisierten Personalisierungsdaten eindeutig festgelegt wird.The present invention is particularly advantageous if the updated personalization data is shorter than the previous personalization data. However, even if the updated personalization data is longer and the logical end is thus shifted backwards, the present invention offers the advantage that the logical file end of the updated personalization data is clearly defined.

Nach einer Ausführungsform sind die aktualisierten Personalisierungsdaten kürzer als die ersten Personalisierungsdaten, so dass das logische Ende der aktualisierten Personalisierungsdaten vor dem logischen Ende der ersten Personalisierungsdaten angeordnet ist.According to one embodiment, the updated personalization data are shorter than the first personalization data, so that the logical end of the updated Personalization data is arranged before the logical end of the first personalization data.

Nach einer Ausführungsform führt das Verfahren vor dem Schreiben der zweiten Personalisierungsdaten folgende Prüfungen aus:

  • Ermitteln der für den Schreibvorgang notwendigen Länge des EFs,
  • Ermitteln, ob die Länge des EFs mindestens der zuvor ermittelten Länge entspricht, wobei das Verfahren nur fortgesetzt wird, falls die Länge des EFs größer oder gleich der zuvor ermittelten Länge ist.
According to one embodiment, the method carries out the following checks before writing the second personalization data:
  • Determining the length of the EF required for the write process,
  • Determining whether the length of the EF is at least equal to the previously determined length, the method only continuing if the length of the EF is greater than or equal to the previously determined length.

Ausführungsformen der vorliegenden Erfindung können den Vorteil haben, dass Personalisierungsdaten nur in ein EF geschrieben werden, wenn die resultierende Länge der aktualisierten Personalisierungsdaten die Länge des EF nicht überschreitet. Somit kann verhindert werden, dass es zu Fehlern beim Schreiben der aktualisierten Personalisierungsdaten kommt.Embodiments of the present invention may have the advantage that personalization data is only written to an EF if the resulting length of the updated personalization data does not exceed the length of the EF. It can thus be prevented that errors occur when writing the updated personalization data.

Nach einer Ausführungsform umfasst das Ermitteln der für den Schreibvorgang notwendigen Länge des EFs:

  • Ermitteln des logischen Endes der ersten Personalisierungsdaten durch Auslesen des Zeigers aus dem Chipkartendateisystem,
  • Ermitteln des voraussichtlichen logischen Endes der aktualisierten Personalisierungsdaten infolge der Aktualisierung der ersten Personalisierungsdaten in dem EF auf Basis der Länge der zweiten Personalisierungsdaten.
According to one embodiment, determining the length of the EF necessary for the write process includes:
  • Determining the logical end of the first personalization data by reading the pointer from the chip card file system,
  • determining the expected logical end of the updated personalization data as a result of updating the first personalization data in the EF based on the length of the second personalization data.

Ausführungsformen der Erfindung können den Vorteil haben, dass sich somit das voraussichtliche logische Ende der aktualisierten Personalisierungsdaten effizient bestimmen lässt.Embodiments of the invention can have the advantage that the probable logical end of the updated personalization data can thus be determined efficiently.

Nach einer Ausführungsform wird das logische Dateiende nach dem Schreiben der zweiten Personalisierungsdaten an das Ende der zweiten Personalisierungsdaten gesetzt durch Erstellen eines aktualisierten Zeigers, der das logische Ende der aktualisierten Personalisierungsdaten angezeigt.According to one embodiment, after writing the second personalization data, the logical end of the file is set to the end of the second personalization data by creating an updated pointer indicating the logical end of the updated personalization data.

Ausführungsformen der Erfindung können den Vorteil haben, dass das logische Dateiende einfach und zuverlässig festgelegt werden kann. Sobald die Personalisierungsdaten in das EF geschrieben sind, wird das logische Dateiende direkt hinter den aktuell geschriebenen Datenblock der Personalisierungsdaten gesetzt.Embodiments of the invention can have the advantage that the logical end of file can be determined easily and reliably. Once the personalization data is written to the EF, the logical end of file is placed directly after the currently written data block of personalization data.

Nach einer Ausführungsform ist das Schreibkommando ein Schreibkommando einer Abfolge von Schreibkommandos, wobei ein letztes Schreibkommando der Abfolge von Schreibkommandos einen Indikator umfasst, der anzeigt, dass das letzte Schreibkommando ein abschließendes Schreibkommando ist, und wobei die vorausgehenden Schreibkommandos jeweils einen Indikator umfassen, der anzeigt, dass ein weiteres Schreibkommando folgt.According to one embodiment, the write command is a write command in a sequence of write commands, with a last write command in the sequence of write commands comprising an indicator which indicates that the last write command is a final write command, and with the preceding write commands each comprising an indicator which indicates another write command follows.

Ausführungsformen der Erfindung können den Vorteil haben, dass somit eine Mehrzahl von Schreibkommandos für eine Mehrzahl von Personalisierungsdaten verwendet werden kann. Dies ist beispielsweise vorteilhaft, wenn die zu schreibenden Personalisierungsdaten sehr umfangreich sind und es aus Gründen der Datenübertragung oder vordefinierter Datenformate notwendig ist, die zu schreibenden Personalisierungsdaten in eine Mehrzahl von Datenblöcken aufzuteilen, denen jeweils ein Schreibkommando zugeordnet ist. Des Weiteren eröffnen Ausführungsformen der vorliegenden Erfindung die Möglichkeit, dass unterschiedliche Personalisierungsdaten bzw. Teile von Personalisierungsdaten an unterschiedlichen Stellen des EF aktualisiert werden können. Die verschiedenen Schreibkommandos können beispielsweise über ein Command Chaining Bit im CLASS Byte gemäß ISO 7816-4 des Schreibkommandos verbunden werden. Dabei gibt ein Bitwert 1 an, dass ein weiteres Schreibkommando folgt, während ein Bitwert 0 angibt, dass es sich um ein abschließendes Schreibkommando handelt. Der Zeiger wird erst dann aktualisiert, wenn ein Indikator in Form eines Bitwerts 0 anzeigt, dass es sich um das abschließende Schreibkommando handelt. Dann wird das logische Dateiende hinter die zuletzt aktualisierten Personalisierungsdaten gesetzt.Embodiments of the invention can have the advantage that a plurality of write commands can thus be used for a plurality of personalization data. This is advantageous, for example, when the personalization data to be written is very extensive and it is necessary for reasons of data transmission or predefined data formats to divide the personalization data to be written into a plurality of data blocks, each of which is assigned a write command. Furthermore, embodiments of the present invention open up the possibility that different personalization data or parts of personalization data can be updated at different points of the EF. The various write commands can be linked, for example, via a command chaining bit in the CLASS byte according to ISO 7816-4 of the write command. A bit value of 1 indicates that a further write command follows, while a bit value of 0 indicates that this is a final write command. The pointer is not updated until an indicator in the form of a bit value 0 indicates that this is the final write command. Then the logical end of file is placed after the last updated personalization data.

Nach einer Ausführungsform umfasst das Verfahren: Vor dem Aktualisieren des Zeigers, Prüfen anhand des Indikators, ob das Schreibkommando ein abschließendes Schreibkommando ist, falls das Schreibkommando kein abschließendes Schreibkommando ist Ausführen des nächsten Schreibkommandos in der Abfolge, falls das Schreibkommando ein abschließendes Schreibkommando ist, Setzen des logischen Dateiendes nach dem Ausführen des abschließenden Schreibkommandos an das Ende der aktualisierten Personalisierungsdaten durch Erstellen eines aktualisierten Zeigers, der das logische Ende der aktualisierten Personalisierungsdaten angezeigtAccording to one embodiment, the method comprises: Before updating the pointer, checking using the indicator whether the write command is a final write command, if the write command is not a final write command, executing the next write command in the sequence, if the write command is a final write command, setting the logical end of the file after executing the final write command to the end of the updated personalization data by creating an updated pointer indicating the logical end of the updated personalization data

Ausführungsformen der Erfindung können den Vorteil haben, dass das logische Dateiende effizient festgelegt werden kann. Hierfür sind keine weiteren Informationen, beispielsweise Schreibkommandos, notwendig. Somit lässt sich der gesamte Schreibvorgang effizienter ausgestalten, selbst im Falle einer Mehrzahl von Schreibkommandos.Embodiments of the invention may have the advantage that the logical end of file can be determined efficiently. No further information, such as write commands, is required for this. The entire write process can thus be configured more efficiently, even in the case of a plurality of write commands.

Nach einer Ausführungsform wird das logische Dateiende in Antwort auf eine Auswahl einer anderen Datei und/oder eines anderen Verzeichnisses an das Ende der aktualisierten Personalisierungsdaten gesetzt durch Erstellen eines aktualisierten Zeigers, der das logische Ende der aktualisierten Personalisierungsdaten anzeigt.In one embodiment, the logical end of file is placed at the end of the updated personalization data in response to a selection of another file and/or directory by creating an updated pointer that indicates the logical end of the updated personalization data.

Ausführungsformen der Erfindung können den Vorteil haben, dass zusätzliche Hilfskonstruktionen wie das Überschreiben des gesamten Inhalts des EF mit Nullen entfallen, Dies spart zum einen Zeit und zum anderen entfällt ein zusätzlicher Schreibbefehl, der extern ausgelöst werden müsste. Zudem passt der logische Inhalt des EFs bei Aktualisierungsverfahren gemäß der vorliegenden Offenbarung stets zum tatsächlich geschriebenen Inhalt, d. h. bei Operationen auf dem Inhalt des EFs, wie beispielsweise einem Auslesen der entsprechenden Personalisierungsdaten, müssen vernachlässigbare Restdaten nicht berücksichtigt werden.Embodiments of the invention can have the advantage that additional auxiliary constructions such as overwriting the entire content of the EF with zeros are not required. This saves time on the one hand and on the other hand there is no need for an additional write command that would have to be triggered externally. In addition, the logical content of the EF always matches the actually written content in update methods according to the present disclosure, ie in operations on the content of the EF, such as reading out the corresponding personalization data, negligible residual data need not be taken into account.

Nach einer Ausführungsform erfolgt das Aktualisieren der ersten Personalisierungsdaten durch Überschreiben mit den zweiten Personalisierungsdaten beginnend am Anfang der ersten Personalisierungsdaten.According to one embodiment, the first personalization data is updated by overwriting it with the second personalization data, beginning at the beginning of the first personalization data.

Ausführungsformen der vorliegenden Erfindung können den Vorteil haben, dass keine zusätzlichen Informationen über den Beginn des Schreibvorgangs notwendig sind, wodurch der gesamte Schreibvorgang effizienter ausgestaltet werden kann.Embodiments of the present invention can have the advantage that no additional information about the start of the writing process is required, as a result of which the entire writing process can be made more efficient.

Nach einer Ausführungsform umfasst das Schreibkommando einen Offsetwert, welcher einen Startpunkt innerhalb der Speicherlänge des EFs für das Aktualisieren der ersten Personalisierungsdaten bestimmt, und die ersten Personalisierungsdaten durch Überschreiben mit den zweiten Personalisierungsdaten aktualisiert werden.According to one embodiment, the write command includes an offset value that determines a starting point within the memory length of the EF for updating the first personalization data, and the first personalization data is updated by overwriting it with the second personalization data.

Ausführungsformen der Erfindung können den Vorteil haben, dass der Startpunkt für das Aktualisieren der Personalisierungsdaten flexibel gewählt werden kann. Dies ist vorteilhaft, wenn die in dem EF gespeicherten Personalisierungsdaten sehr umfangreich sind und lediglich ein kleiner Teil der gespeicherten ersten Personalisierungsdaten durch zweite Personalisierungsdaten zu aktualisieren ist. In diesem Fall kann durch das Verwenden eines Offsetwerts in dem Schreibkommando vermieden werden, dass die gesamten Personalisierungsdaten aktualisiert werden müssen.Embodiments of the invention can have the advantage that the starting point for updating the personalization data can be chosen flexibly. This is advantageous if the personalization data stored in the EF is very extensive and only a small part of the stored first personalization data has to be updated with second personalization data. In this case, by using an offset value in the write command, it can be avoided that the entire personalization data has to be updated.

Handelt es sich bei den ersten Personalisierungsdaten beispielsweise um die Anschriften des Inhabers des Wert- oder Sicherheitsdokuments und ändert bei einem Umzug des Inhabers lediglich die Hausnummer, so muss nicht die gesamte Adresse ersetzt werden, sondern es reicht, lediglich die Hausnummer durch die neue Hausnummer in dem die Adresse umfassenden EF zu aktualisieren. Ein weiteres Beispiel stellt ein umfangreiches Zertifikat dar, bei weichem die Gültigkeit der Signatur abgelaufen ist. Ausführungsformen der vorliegenden Erfindung ermöglichen es, lediglich die Signatur des Zertifikats zu ersetzen, ohne das gesamte Zertifikat ersetzen zu müssen.If, for example, the first personalization data is the address of the owner of the value or security document and if the owner moves house only the house number changes, the entire address does not have to be replaced, but simply replacing the house number with the new house number in to update the EF containing the address. Another example is an extensive certificate in which the validity of the signature has expired. Embodiments of the present invention allow only the signature of the certificate to be replaced without having to replace the entire certificate.

Nach einer Ausführungsform werden die ersten Personalisierungsdaten vor dem Aktualisieren ausgelesen, auf Basis der ausgelesenen ersten Personalisierungsdaten ein Startpunkt innerhalb der Speicherlänge des EFs für das Aktualisieren der ersten Personalisierungsdaten bestimmt und die ersten Personalisierungsdaten durch Überschreiben mit den zweiten Personalisierungsdaten aktualisiert.According to one embodiment, the first personalization data is read before updating, a starting point within the memory length of the EF for updating the first personalization data is determined on the basis of the first personalization data read out, and the first personalization data is updated by overwriting it with the second personalization data.

Ausführungsformen der Erfindung können den Vorteil haben, dass ein Startpunkt für das Aktualisieren der Personalisierungsdaten auch ohne Kenntnis der ersten Personalisierungsdaten möglich ist. Bei der Verwendung eines Offsetwerts im Schreibkommando muss beim Erstellen des Schreibkommandos der Inhalt der Personalisierungsdaten bzw. deren Struktur bekannt sein, um festlegen zu können, welcher Abschnitt den zu aktualisierenden Daten entspricht. Ein Bestimmen des Startpunkts auf Basis von Personalisierungsdaten, die erst im Zuge des Schreibvorgangs ausgelesen werden, erlaubt es, Daten auch ohne entsprechende Vorkenntnisse zu ersetzen. Das Festlegen des Startpunkts kann dabei sowohl automatisch als auch manuell erfolgen. So können die ausgelesenen ersten Personalisierungsdaten auf dem Wert- oder Sicherheitsdokument oder dem Terminal analysiert werden, beispielsweise auf Basis von entsprechenden Kriterien, die im Schreibkommando festgelegt sind. Alternativ können die entsprechenden Daten beispielsweise auf einer Anzeigevorrichtung des Terminals angezeigt werden, so dass ein Benutzer des Terminals manuell festlegen kann, welche Abschnitte der Personalisierungsdaten aktualisiert werden sollen.Embodiments of the invention can have the advantage that a starting point for updating the personalization data is also possible without knowledge of the first personalization data. When using an offset value in the write command, the content of the personalization data or its structure must be known when the write command is created in order to be able to determine which section corresponds to the data to be updated. Determining the starting point on the basis of personalization data, which is only read out in the course of the writing process, makes it possible to replace data even without the relevant prior knowledge. The starting point can be set either automatically or manually. The read out first personalization data on the value or security document or the terminal can thus be analyzed, for example on the basis of corresponding criteria which are defined in the write command. Alternatively, the corresponding data can be displayed, for example, on a display device of the terminal, so that a user of the terminal can manually specify which sections of the personalization data are to be updated.

Entsprechende zweite Personalisierungsdaten können an das Terminal automatisch, beispielsweise über eine verschlüsselte Internetverbindung, bereitgestellt werden. Alternativ können die entsprechende Personalisierungsdaten auf dem Terminal vorinstalliert sein oder aber durch entsprechende Updates, beispielsweise in vordefinierten Zeitintervallen, aufgespielt sein. Weiterhin können die entsprechenden zweiten Personalisierungsdaten durch einen Benutzer des Terminals, der sich vorher authentifiziert hat und entsprechende Berechtigungsnachweise erbracht hat, durch manuelle Eingabe festgelegt werden.Corresponding second personalization data can be provided to the terminal automatically, for example via an encrypted internet connection. Alternatively, the corresponding personalization data can be pre-installed on the terminal or can be loaded using appropriate updates, for example at predefined time intervals. Furthermore, the corresponding second personalization data can be specified by manual input by a user of the terminal who has previously authenticated himself and has provided appropriate proof of authorization.

So kann es sich in dem zuvor genannten Beispiel einer Adressänderung bei dem Terminal um ein entsprechendes Terminal einer Stadtverwaltung handeln, an welchem der Benutzer selbständig seine Adressänderung melden kann. Hierzu nimmt der Benutzer die notwendigen Eingaben am Terminal vor und ändert dabei zugleich die in dem entsprechenden EF abgespeicherte Adresse.In the above-mentioned example of a change of address, the terminal can be a corresponding terminal of a city administration, to which the user can independently report his change of address. To do this, the user makes the necessary entries on the terminal and at the same time changes the address stored in the corresponding EF.

Nach einer Ausführungsform umfasst das Schreibkommando ein Kommando zum Beibehalten eines Abschnitts der ersten Personalisierungsdaten umfasst, welcher einem zu aktualisierenden Abschnitt der ersten Personalisierungsdaten nachgeordnet ist, wobei das Beibehalten des nachgeordneten Abschnitts umfasst:

  • Nach dem Schreiben der zweiten Personalisierungsdaten, Verschieben der nachgeordneten Abschnitts an das Ende der zweiten Personalisierungsdaten,
  • Festlegen des Endes des nachgeordneten Abschnitts als das logische Ende der aktualisierten Personalisierungsdaten durch Erstellen eines aktualisierten Zeigers, der das logische Ende der aktualisierten Personalisierungsdaten angezeigt.
According to one embodiment, the write command comprises a command for retaining a section of the first personalization data which is subordinate to a section of the first personalization data to be updated, the retention of the subordinate section comprising:
  • After writing the second personalization data, moving the downstream section to the end of the second personalization data,
  • designating the end of the downstream section as the logical end of the updated personalization data by creating an updated pointer that indicates the logical end of the updated personalization data.

Nach einer Ausführungsform der Erfindung umfasst das Aktualisieren ein teilweises physikalisches Verschieben der in dem EF gespeicherten Personalisierungsdaten. Hierbei werden die Personalisierungsdaten von ihrem ursprünglichen Speicherbereich an einen anderen Speicherbereich kopiert.According to an embodiment of the invention, the updating comprises a partial physical relocation of the personalization data stored in the EF. Here, the personalization data are copied from their original storage area to another storage area.

Insbesondere kann das Verschieben ausgeführt werden als ein Auslesen des zu verschiebenden Datenabschnitts aus dem EF und Schreiben des ausgelesenen Datenabschnitts an eine neue, gegenüber der ursprünglichen Position verschobene Position. Die neue Position ist dabei so gewählt, dass der Anfang des verschobenen Abschnitts direkt an das Ende der zweiten Personalisierungsdaten anschließt. Beim Schreiben des verschobenen Abschnitts werden die ursprünglichen Daten überschrieben.In particular, the shifting can be performed as reading the data section to be shifted from the EF and writing the data section read out to a new position shifted from the original position. The new position is selected in such a way that the beginning of the shifted section is directly connected to the end of the second personalization data. Writing the moved section overwrites the original data.

Dies kann den Vorteil haben, dass der zu verschiebende Datenabschnitt nicht zusätzlich als Bestandteil der zweiten Personalisierungsdaten von dem Terminal zusätzlich bereitgestellt werden muss, sondern hierfür vielmehr auf die von dem Wert-oder Sicherheitsdokument bereits zur Verfügung gestellten Daten zurückgegriffen wird, welche den entsprechenden Datenabschnitt bereits enthalten.This can have the advantage that the data section to be moved does not have to be additionally provided by the terminal as part of the second personalization data, but rather the data already provided by the value or security document is used for this purpose, which already contains the corresponding data section contain.

Ausführungsformen der Erfindung können den Vorteil haben, dass auch Datenabschnitte innerhalb erster Personalisierungsdaten aktualisiert werden können, wobei die nachfolgenden Personalisierungsdaten zumindest teilweise beibehalten werden sollen. Ist beispielweise ein aktualisierter Mittelabschnitt der Personalisierungsdaten kürzer als der vorhergehende logisch äquivalente Mittelabschnitt, so verbleiben innerhalb der Personalisierungsdaten Restdaten, die zu Problemen bei der Interpretation auszulesender Daten führen können. Dies kann grundsätzlich dadurch vermieden werden, dass die gesamten Personalisierungsdaten aktualisiert, d.h. überschrieben werden und durch eine Aktualisierung des Zeigers auf das logische Ende der aktualisierten Personalisierungsdaten Komplikationen aufgrund von verbleibenden Restdaten am Ende der Datei verhindert werden. Dies kann aber bei umfangreichen Personalisierungsdaten aufwendig sein. Soll nur ein kurzer Restabschnitt der ersten Personalisierungsdaten erhalten bleiben, so kann es deutlich effizienter sein, diesen Restabschnitt so physikalisch zu verschieben bzw. zu kopieren, dass er indirekt an den aktualisierten Teilabschnitt der Personalisierungsdaten anschließt.Embodiments of the invention can have the advantage that data sections within the first personalization data can also be updated, with the subsequent personalization data being at least partially retained. If, for example, an updated middle section of the personalization data is shorter than the preceding logically equivalent middle section, residual data remain within the personalization data, which can lead to problems in the interpretation of data to be read out. In principle, this can be avoided by updating the entire personalization data, i.e. overwriting it, and by updating the pointer to the logical end of the updated personalization data, complications due to residual data remaining at the end of the file are prevented. However, this can be time-consuming in the case of extensive personalization data. If only a short remaining section of the first personalization data is to be retained, it can be significantly more efficient to physically move or copy this remaining section in such a way that it is indirectly connected to the updated partial section of the personalization data.

Ausführungsformen des vorliegenden erfindungsgemäßen Verfahrens lassen sich vorteilhafterweise auch auf Personalisierungsdaten mit TLV-Struktur anwenden.Embodiments of the present inventive method can advantageously also be applied to personalization data with a TLV structure.

Personalisierungsdaten können nach Ausführungsformen in einer Form einer TLV-Struktur (Tag Length Value) angelegt sein. Bei einer TLV-Struktur handelt sich um eine Datenstruktur, welche die Organisation von Daten vereinfachen soll. Hierzu ist neben dem Inhalt der Datenstruktur (Value) in einem Kopf der Struktur auch ein Kennzeichen für die Art der enthaltenen Daten (Tag) und die Länge des Datenobjekts angegeben. Arbeitet ein Programm, das beispielsweise nur eine bestimmte Art von Datenobjekten verarbeiten kann, eine Reihe von TLV-Strukturen ab, kann es zunächst prüfen, ob der Dateninhalt einer TLV-Struktur überhaupt verarbeitet werden kann, indem der Tag der TLV-Struktur ausgelesen wird. Sollte hierbei durch das Programm festgestellt werden, dass die Art der enthaltenen Daten nicht mit dem Programm verarbeitet werden können, kann das Programm die TLV-Struktur einfach überspringen, da die Länge der Struktur in dem Wert L angegeben ist.According to embodiments, personalization data can be created in the form of a TLV (Tag Length Value) structure. A TLV structure is a data structure intended to simplify the organization of data. For this purpose, in addition to the content of the data structure (value), an identifier for the type of data contained (tag) and the length of the data object is also specified in a header of the structure. If a program that can only process a certain type of data object, for example, processes a series of TLV structures, it can first check whether the data content of a TLV structure can be processed at all by reading the tag of the TLV structure. If the program determines that the type of data contained cannot be processed with the program, the program can simply skip the TLV structure, since the length of the structure is specified in the value L.

Nach Ausführungsformen der Erfindung wird zu Beginn der Aktualisierung der ersten Personalisierungsdaten initial von dem Chipkartenbetriebssystem ein Flag in dem nicht-flüchtigen elektronischen Speicher des Wert- oder Sicherheitsdokuments gesetzt, welches den Beginn des Aktualisierungsvorgang zur Aktualisierung der ersten Personalisierungsdaten anzeigt, und wobei das Flag nach der Aktualisieren des Zeigers gelöscht wird. Das zur Aktualisierung der Personalisierungsdaten initial in dem geschützten elektronischen Speicher gesetzte Flag zeigt an, dass eine Änderung von Personalisierungsdaten erfolgen soll. Erst nachdem der Zeiger auf das logische Ende der aktualisierten Personalisierungsdaten aktualisiert wurde, wird das Flag zurückgesetzt.According to embodiments of the invention, at the beginning of the update of the first personalization data, the chip card operating system initially sets a flag in the non-volatile electronic memory of the value or security document, which indicates the start of the update process for updating the first personalization data, and the flag after the Updating the pointer is cleared. The flag initially set in the protected electronic memory for updating the personalization data indicates that the personalization data is to be changed. Only after the pointer to the logical end of the updated personalization data has been updated is the flag reset.

Dies hat den Vorteil, dass bei einem Abbruch des Änderungsverfahrens, beispielsweise durch Herausnehmen des Wert- oder Sicherheitsdokuments aus dem Terminal, keine nur teilweise oder inkorrekte Änderung der Personalisierungsdaten erfolgt ist oder ein falsches logisches Ende durch einen nicht aktualisierten Zeiger angezeigt wird. Wird nämlich von dem Chipkartenbetriebssystem bei einer Verwendung des Wert- oder Sicherheitsdokuments festgestellt, dass das Flag in dem geschützten elektronischen Speicher gesetzt ist, so bedeutet dies, dass das Wert- oder Sicherheitsdokument zunächst nicht verwendbar ist. Nach Ausführungsformen der Erfindung kann für einen solchen Fall vorgesehen sein, dass der Zustand des Wert-oder Sicherheitsdokuments vor dem Start des Änderungsverfahrens wieder hergestellt wird, wonach dann das Flag zurückgesetzt wird und das Wert- oder Sicherheitsdokument wieder betriebsbereit ist. Dies kann dadurch erreicht werden, dass jeder Schritt in dem Änderungsverfahren durch Protokolldateien von dem Chipkartenbetriebssystem protokolliert wird, so dass vorgenommene Änderungen anhand dieser Protokolldateien wieder rückgängig gemacht werden können.This has the advantage that if the change process is aborted, for example by removing the value or security document from the terminal, the personalization data has not been changed only partially or incorrectly, or an incorrect logical end is indicated by a pointer that has not been updated. If the chip card operating system determines when using the value or security document that the flag is set in the protected electronic memory, this means that the value or security document cannot initially be used. According to embodiments of the invention, it can be provided in such a case that the state of the value or security document before the start of the change process is restored, after which the flag is reset and the value or security document is ready for operation again. This can be achieved in that each step in the change process is logged by log files from the chip card operating system, so that changes made can be reversed using these log files.

Nach einer Ausführungsform der Erfindung handelt es sich bei dem Terminal des Chipkartensystems um ein Lesegerät für ein hoheitliches Dokument, wie zum Beispiel um ein Lesegerät für einen elektronischen Personalausweis, einen elektronischen Aufenthaltstitel oder einen elektronischen Pass.According to one embodiment of the invention, the terminal of the chip card system is a reading device for an official document, such as a reading device for an electronic identity card, an electronic residence permit or an electronic passport.

Nach einer Ausführungsform weist das Terminal mindestens einen elektronischen Speicher, eine kontaktlose Kommunikationsschnittstelle, ein geschlossenes Gehäuse und einen mechanischen Einzug auf, wobei der mechanische Einzug dazu konfiguriert ist, das Wert- oder Sicherheitsdokument gegen eine Entnahme aus dem Terminal zu sichern, wobei das Verfahren ferner die Folgendes aufweist:

  • Einziehen des Wert- oder Sicherheitsdokument in den mechanischen Einzug des Terminals, so dass sich das Wert- oder Sicherheitsdokument nach dem Einziehen vollständig innerhalb des Gehäuses des Terminals befindet,
  • Nachladen der zweiten Personalisierungsdaten auf das Wert- oder Sicherheitsdokument zum Aktualisieren der ersten Personalisierungsdaten durch die zweiten Personalisierungsdaten,
  • Auswerfen des Wert- oder Sicherheitsdokument aus dem mechanischen Einzug des Terminals nach Abschluss der Aktualisierung.
According to one embodiment, the terminal has at least one electronic memory, a contactless communication interface, a closed housing and a mechanical feeder, the mechanical feeder being configured to secure the value or security document against removal from the terminal, the method further which has the following:
  • Pulling the valuable or security document into the terminal's mechanical feeder so that the valuable or security document is completely inside the terminal's housing after being drawn in,
  • Reloading the second personalization data onto the value or security document to update the first personalization data with the second personalization data,
  • Ejection of the value or security document from the terminal's mechanical feeder after the update is complete.

Das Wert- oder Sicherheitsdokument wird zum Aktualisieren der Personalisierungsdaten zunächst in den mechanischen Einzug des Terminals eingezogen, so dass sich das Wert- oder Sicherheitsdokument nach dem Einziehen vollständig innerhalb des Gehäuses des Terminals befindet. Hiermit kann sichergestellt werden, dass das Wert- oder Sicherheitsdokument während des Aktualisierens der Personalisierungsdaten nicht aus dem Terminal entnommen wird, da andernfalls ein Datenverlust durch Unterbrechung der Kommunikationsverbindung verursacht werden könnte. Abschließend wird das Dokument aus dem mechanischen Einzug ausgeworfen. Unter einem Auswerfen ist hierbei zu verstehen, dass das Dokument durch den mechanischen Einzug soweit freigegeben wird, sodass ein Dokumenteninhaber das Dokument aus dem Terminal entnehmen kann. Dies kann beispielsweise durch ein Auswerfen im Sinne einer Bewegung des Dokuments aus dem mechanischen Einzug geschehen oder der mechanische Einzug kann beispielsweise eine Klappe oder Öffnung freigeben, so dass das Dokument innerhalb des mechanischen Einzugs mit den Händen gegriffen werden kann.In order to update the personalization data, the value or security document is first drawn into the mechanical feeder of the terminal, so that the value or security document is completely inside the housing of the terminal after it has been drawn in. It can hereby be ensured that the value or security document is not removed from the terminal while the personalization data is being updated, since otherwise data loss could be caused by an interruption in the communication connection. Finally, the document is ejected from the mechanical feeder. Ejection is to be understood here as meaning that the document is released by the mechanical feed to such an extent that a document holder can remove the document from the terminal. This can be done, for example, by ejection in the sense of a movement of the document from the mechanical feeder happen or the mechanical feeder can release a flap or opening, for example, so that the document can be gripped with the hands within the mechanical feeder.

Nach einer Ausführungsform weist das Wert- oder Sicherheitsdokument eine erste kontaktlose Kommunikationsschnittstelle auf, während das Terminal eine zweite kontaktlose Kommunikationsschnittstelle aufweist. Das Verfahren beinhaltet dann das Aufbauen einer Kommunikationsverbindung zwischen dem Terminal und dem Wert- oder Sicherheitsdokument über die erste und zweite kontaktlose Kommunikationsschnittstelle. Das Übertragen der zweiten Personalisierungsdaten in den geschützten nicht-flüchtigen Speicherbereich des Wert- oder Sicherheitsdokuments erfolgt dann über eben diese Kommunikationsverbindung.According to one embodiment, the value or security document has a first contactless communication interface, while the terminal has a second contactless communication interface. The method then includes setting up a communication connection between the terminal and the value or security document via the first and second contactless communication interface. The transmission of the second personalization data into the protected, non-volatile memory area of the value or security document then takes place via precisely this communication link.

Bei der Kommunikationsverbindung kann es sich beispielsweise um eine RFID- oder NFC-Verbindung handeln. Insbesondere die Kombination einer kontaktlosen Kommunikation zwischen Wert- oder Sicherheitsdokument und Terminal und dem Einziehen des Wert- oder Sicherheitsdokuments in einen mechanischen Einzug könnte den Vorteil haben, dass durch den mechanischen Einzug ein vorzeitiges Entfernen des Wert- oder Sicherheitsdokuments aus dem Wirkbereich des Terminals verhindert werden kann, während gleichzeitig die Mittel zur kontaktlosen Kommunikation zwischen Wert- oder Sicherheitsdokument und Terminal in dem Wert-oder Sicherheitsdokument eingebettet werden können. Durch die üblicherweise bei Verwendung eines mechanischen Einzugs entstehende Reibung könnten nämlich Kontakte, welche zur kontaktbehafteten Datenübertragung genutzt werden, abgenutzt werden. Dieses Risiko wird jedoch durch die Einbettung beispielsweise einer Antenne in den Wert- oder Sicherheitsdokumentenkörper, bei der die Antenne an keiner Stelle aus dem Wert- oder Sicherheitsdokument herausragt, effektiv vermieden.The communication connection can be an RFID or NFC connection, for example. In particular, the combination of contactless communication between the value or security document and the terminal and the drawing of the value or security document into a mechanical feed could have the advantage that the mechanical feed prevents premature removal of the value or security document from the effective range of the terminal while at the same time the means for contactless communication between the value or security document and the terminal can be embedded in the value or security document. Contacts that are used for contact-based data transmission could wear out due to the friction that usually occurs when using a mechanical feed. However, this risk is effectively avoided by embedding, for example, an antenna in the value or security document body, in which case the antenna does not protrude from the value or security document at any point.

Nach einer Ausführungsform umfasst der Aufbau der Kommunikationsverbindung zwischen Terminal und Wert- oder Sicherheitsdokument eine gegenseitige Authentifizierung des Terminals und des Wert- oder Sicherheitsdokuments. Hierdurch wird erfindungsgemäß ein sicherer Kommunikationskanal zwischen Terminal und Wert-oder Sicherheitsdokument aufgebaut. Die Personalisierungsdaten werden dann ausschließlich über diesen sicheren Kommunikationskanal übermittelt. Ferner ist vorgesehen, dass das Terminal nach erfolgreicher Authentifizierung gegenüber dem Wert- oder Sicherheitsdokument Zugriff auf in dem nicht-flüchtigen Speicher des Wert- oder Sicherheitsdokuments gespeicherte Personalisierungsdaten erhält.According to one embodiment, the establishment of the communication link between the terminal and the value or security document includes a mutual authentication of the terminal and the value or security document. This will according to the invention, a secure communication channel is set up between the terminal and value or security document. The personalization data is then transmitted exclusively via this secure communication channel. Provision is also made for the terminal to have access to personalization data stored in the non-volatile memory of the value or security document after successful authentication with respect to the value or security document.

Ausführungsformen der Erfindung könnten den Vorteil haben, dass durch die Sicherung der Kommunikation zwischen Wert- oder Sicherheitsdokument und Terminal ein Ausspähen der übertragenen Personalisierungsdaten verhindert werden kann. Beispielsweise kann nach einer weiteren Ausführungsform zur Authentifizierung ein Challenge-Response-Verfahren verwendet werden. Beispielsweise kann die Authentifizierung über das Basic Access Control-Verfahren (BAC) oder über das Verfahren des Password Authenticated Connection Establishment (PACE) erfolgen.Embodiments of the invention could have the advantage that by securing the communication between the value or security document and the terminal, spying out of the transmitted personalization data can be prevented. For example, according to a further embodiment, a challenge-response method can be used for authentication. For example, authentication can be performed using the Basic Access Control (BAC) method or using the Password Authenticated Connection Establishment (PACE) method.

Nach einer weiteren Ausführungsform der Erfindung löscht das Terminal nach dem Übertragen der zweiten Personalisierungsdaten in den nicht-flüchtigen Speicher des Wert- oder Sicherheitsdokuments die zweiten Personalisierungsdaten aus dem elektronischen Speicher des Terminals. Hierdurch könnte verhindert werden, dass die Personalisierungsdaten nachträglich aus dem Terminal ausgelesen und möglicherweise missbräuchlich verwendet werden. Demselben Grundgedanken folgt eine weitere Ausführungsform, wonach es sich bei dem elektronischen Speicher des Terminals um einen flüchtigen Speicher handelt. Beispielsweise könnte der elektronische Speicher des Terminals als Random Access Memory (RAM) ausgeführt sein. Dies hätte den Vorteil, dass bei einem Abschalten des Terminals alle in dem Speicher des Terminals gespeicherten Personalisierungsdaten aus vorangegangenen Kompressionsvorgängen automatisch gelöscht werden. Ein gezieltes Löschen der Personalisierungsdaten aus dem Speicher des Terminals ist dann nicht mehr notwendig.According to a further embodiment of the invention, after the second personalization data has been transferred to the non-volatile memory of the value or security document, the terminal deletes the second personalization data from the electronic memory of the terminal. This could prevent the personalization data from being subsequently read out of the terminal and possibly misused. Another embodiment follows the same basic idea, according to which the electronic memory of the terminal is a volatile memory. For example, the electronic memory of the terminal could be designed as a random access memory (RAM). This would have the advantage that when the terminal is switched off, all the personalization data stored in the terminal's memory from previous compression processes are automatically deleted. A targeted deletion of the personalization data from the memory of the terminal is then no longer necessary.

Nach einer weiteren Ausführungsform wird im Zuge des erfindungsgemäßen Verfahrens ein Nachladetoken verwendet, wobei die auf das Wert- oder Sicherheitsdokument nachzuladenden zweiten Personalisierungsdaten auf dem Nachladetoken enthalten sind, wobei der Nachladetoken zu Beginn des Verfahrens mit dem Terminal verbunden wird, wobei die Verbindung zwischen Terminal und Nachladetoken für eine Datenübertragung zwischen Terminal und Nachladetoken konfiguriert ist, wobei das Terminal dazu konfiguriert ist, die nachzuladenden zweiten Personalisierungsdaten aus dem Nachladetoken zu extrahieren und in den nicht-flüchtigen elektronischen Speicher des Wert- oder Sicherheitsdokument zu übertragen. Beispielsweise kann es sich bei dem Nachladetoken um eine Smartcard handeln, welche in das Terminal eingesetzt wird. Dabei ist die Verbindung zwischen Terminal und Nachladetoken für eine Datenübertragung zwischen Terminal und Nachladetoken konfiguriert.According to a further embodiment, a reloading token is used in the course of the method according to the invention, the value or security document second personalization data to be reloaded are contained on the reload token, the reload token being connected to the terminal at the beginning of the method, the connection between the terminal and reload token being configured for data transmission between the terminal and reload token, the terminal being configured to load the second personalization data to be reloaded to extract from the reload token and transfer it to the non-volatile electronic memory of the value or security document. For example, the reload token can be a smart card that is inserted into the terminal. The connection between the terminal and the reload token is configured for data transmission between the terminal and the reload token.

Nach einer weiteren Ausführungsform enthält das Wert- oder Sicherheitsdokument ein Zertifikat mit einem öffentlichen Schlüssel eines asymmetrischen Schlüsselpaars. Die auf das Wert- oder Sicherheitsdokument nachzuladenden zweiten Personalisierungsdaten, welche beispielsweise einem Nachladetoken enthalten sind, enthalten dann eine kryptografische Signatur, wobei das Wert- oder Sicherheitsdokument dazu konfiguriert ist, nach Empfang der nachzuladenden Personalisierungsdaten vom Terminal die kryptografische Signatur der empfangenen Daten mit dem öffentlichen Schlüssel des Zertifikats zu verifizieren. Ferner ist das Wert- oder Sicherheitsdokument dazu konfiguriert, nachgeladene zweiten Personalisierungsdaten, deren Signatur nicht mit dem öffentlichen Schlüssel verifiziert werden kann, aus dem nicht-flüchtigen Speicher des Wert- oder Sicherheitsdokuments zu löschen. Da der öffentliche Schlüssel bzw. das Zertifikat üblicherweise während des Herstellungs- bzw. Konfigurationsvorgangs des Wert- oder Sicherheitsdokuments in dem Wert- oder Sicherheitsdokument gespeichert wird, kann ein Wert- oder Sicherheitsdokumenten-Herausgeber hierdurch festlegen, wer Daten auf das Wert- oder Sicherheitsdokument nachladen kann und wer nicht. So können ausschließlich solche Parteien Daten auf das Wert- oder Sicherheitsdokument nachladen, welche von dem Wert- oder Sicherheitsdokumenten-Herausgeber den entsprechenden privaten Schlüssel zur Verfügung gestellt bekommen, welcher eine Signatur erzeugen kann, die mit dem öffentlichen Schlüssel des asymmetrischen Schlüsselpaares verifiziert werden kann.According to a further embodiment, the value or security document contains a certificate with a public key of an asymmetric key pair. The second personalization data to be reloaded onto the value or security document, which are contained in a reload token, for example, then contain a cryptographic signature, with the value or security document being configured, after receiving the personalization data to be reloaded from the terminal, to match the cryptographic signature of the received data with the public Verify the certificate key. Furthermore, the value or security document is configured to delete subsequently loaded second personalization data whose signature cannot be verified with the public key from the non-volatile memory of the value or security document. Since the public key or the certificate is usually stored in the value or security document during the production or configuration process of the value or security document, a value or security document issuer can thereby specify who is to reload data onto the value or security document can and who can't. Thus, only parties who have been provided with the appropriate private key by the issuer of the value or security document, which can generate a signature, can load data onto the value or security document. which can be verified with the public key of the asymmetric key pair.

Nach einer Ausführungsform umfasst das Terminal eine Energiequelle, wobei es sich bei der Energiequelle um eine abgeschlossene interne Energiequelle und/oder um eine externe Energiequelle handelt.According to one embodiment, the terminal comprises an energy source, the energy source being a self-contained internal energy source and/or an external energy source.

Ausführungsformen könnten den Vorteil haben, dass bei Verwendung einer internen Energiequelle das Terminal als tragbares Gerät ausgeführt sein kann, welches vollständig autark ist. Eine solche Autarkie würde die Sicherheit des Terminals gegen Zugriff durch Unbefugte verbessern, da eine Kommunikation lediglich zwischen Wert- oder Sicherheitsdokument und Terminal erfolgt. Ferner kann eine Kombination von interner Energiequelle, wie beispielsweise einer Batterie, und externer Energiequelle, wie beispielsweise einem Netzanschluss, die Ausfallsicherheit des Terminals verbessern, da die Wahrscheinlichkeit, dass beide Energiequellen versagen geringer ist als die Wahrscheinlichkeit des Ausfalls einer der Energiequellen.Embodiments could have the advantage that when using an internal energy source, the terminal can be designed as a portable device that is completely self-sufficient. Such a self-sufficiency would improve the security of the terminal against access by unauthorized persons, since communication only takes place between the value or security document and the terminal. Furthermore, a combination of an internal energy source, such as a battery, and an external energy source, such as a mains connection, can improve the reliability of the terminal since the probability of both energy sources failing is lower than the probability of one of the energy sources failing.

Nach einer Ausführungsform umfasst das Terminal ein Authentisierungstoken, wobei der Authentisierungstoken Daten für eine Authentisierung eines Benutzers des Terminals beinhaltet, wobei der Authentisierungstoken als austauschbarer physischer Datenträger konfiguriert sein kann. Auch hier kann es sich bei dem Datenträger beispielsweise um eine weitere Chipkarte handeln.According to one embodiment, the terminal includes an authentication token, with the authentication token containing data for authentication of a user of the terminal, with the authentication token being able to be configured as an exchangeable physical data carrier. Here, too, the data carrier can be another chip card, for example.

Ausführungsformen könnten den Vorteil haben, dass durch Austausch des Authentisierungstoken das Terminal von einer Vielzahl verschiedener Benutzer verwendet werden kann. Dabei ist jedoch auch sichergestellt, dass nur derjenige Benutzer das Terminal nutzen kann, dessen Authentisierungstoken aktuell mit dem Terminal verbunden ist. Dabei kann vorgesehen sein, dass das Terminal selbstständig prüft, ob ein Benutzer, dessen Authentisierungstoken grade in das Terminal eingesetzt ist, auch tatsächlich zu einer Nutzung des Terminals berechtigt ist.Embodiments could have the advantage that the terminal can be used by a large number of different users by exchanging the authentication token. However, this also ensures that only the user whose authentication token is currently connected to the terminal can use the terminal. It can be provided that the terminal independently checks whether a user whose authentication token is currently inserted in the terminal is actually authorized to use the terminal.

Nach einer Ausführungsform handelt es sich bei dem Wert- oder Sicherheitsdokument um ein elektronisches Ausweisdokument, insbesondere Reisepass, Personalausweis, Visa, Führerschein, Fahrzeugschein, Fahrzeugbrief, Firmenausweis, eine Gesundheitskarte, Signaturkarten, SIM-Karten und/oder um ein elektronisches Zahlungsmittel, insbesondere eine Banknote, Bankkarte, Kreditkarte, einen Frachtbrief und/oder sonstigen Berechtigungsnachweis.According to one embodiment, the value or security document is an electronic identification document, in particular a passport, identity card, visa, driver's license, vehicle registration document, vehicle registration document, company ID card, a health card, signature cards, SIM cards and/or an electronic means of payment, in particular a Bank note, bank card, credit card, bill of lading and/or other proof of entitlement.

Im Weiteren werden Ausführungsformen der Erfindung mit Bezugnahme auf die Zeichnungen näher erläutert.In the following, embodiments of the invention are explained in more detail with reference to the drawings.

Es zeigen:

Figuren 1a bis e
schematische Darstellungen von Datenbelegungen von EFs,
Figur 2
ein Blockdiagramm eines Systems aus Terminal und Wert- oder Sicherheitsdokument zur Ausführung eines erfindungsgemäßen Verfahrens,
Figur 3
ein Blockdiagramm einer nicht erfindungsgemäßen Ausführungsform aus Terminal und Wert- oder Sicherheitsdokument,
Figur 4
eine schematische Darstellung des Verfahrens zum Aktualisieren von Personalisierungsdaten,
Figur 5
eine weitere schematische Darstellung des Verfahrens zum Aktualisieren von Personalisierungsdaten,
Figur 6
eine weitere schematische Darstellung des Verfahrens zum Aktualisieren von Personalisierungsdaten, und
Figuren 7a bis c
eine weitere schematische Darstellung des Verfahrens zum Aktualisieren von Personalisierungsdaten.
Show it:
Figures 1a to e
schematic representations of data assignments of EFs,
figure 2
a block diagram of a system consisting of a terminal and a value or security document for carrying out a method according to the invention,
figure 3
a block diagram of a non-inventive embodiment of terminal and value or security document,
figure 4
a schematic representation of the method for updating personalization data,
figure 5
a further schematic representation of the method for updating personalization data,
figure 6
a further schematic representation of the method for updating personalization data, and
Figures 7a to c
a further schematic representation of the method for updating personalization data.

Im Folgenden werden einander ähnliche Elemente mit gleichen Bezugszeichen gekennzeichnet.Elements that are similar to one another are identified below with the same reference symbols.

Figur 1a zeigt ein EF 132 mit vordefinierter physikalischer Speicherlänge, welche den für das EF 132 reservierten Speicherblock darstellt. Das physikalische Ende 166 bezeichnet das physikalische Ende des reservierten Speicherblocks. Da keine Personalisierungsdaten 140 abgespeichert sind, steht das logische Dateiende 141 auf null. Ist eine Datei 162, wie in Figur 1b gezeigt, länger als die vordefinierte physikalische Speicherlänge des EF 132, d. h. liegt das logische Ende 163 der zu speichernden zweiten Personalisierungsdaten 162 jenseits des physikalischen Endes 166, so wird der Aktualisierungsvorgang abgebrochen. Figur 1c zeigt ein EF 132 mit ersten Personalisierungsdaten 140, deren Ende das logischen Ende 141 definiert. Figure 1a 13 shows an EF 132 with a predefined physical memory length, which represents the block of memory reserved for the EF 132. FIG. The physical end 166 designates the physical end of the reserved memory block. Since no personalization data 140 is stored, the logical end of file 141 is zero. Is a file 162, as in Figure 1b shown, longer than the predefined physical storage length of the EF 132, ie if the logical end 163 of the second personalization data 162 to be stored is beyond the physical end 166, the update process is aborted. Figure 1c shows an EF 132 with first personalization data 140, the end of which defines the logical end 141.

Figur 1d zeigt einen Fall, in dem das logische Ende 164 der aktualisierten Personalisierungsdaten, welches dem logischen Ende 163 der zweiten Personalisierungsdaten 162 entspricht, jenseits des logischen Endes 141 der ersten Personalisierungsdaten 140 liegt. In diesem Fall sind die zweiten Personalisierungsdaten 162 länger als die ersten Personalisierungsdaten 140. Somit verbleiben beim Überschreiben der ersten Personalisierungsdaten 140 mit den zweiten Personalisierungsdaten 162 keine Restdaten der ersten Personalisierungsdaten 140 im EF 132. Figur 1e zeigt eine Situation bei einem Überschreiben erster Personalisierungsdaten 140 mit zweiten Personalisierungsdaten 162, in der die zweiten Personalisierungsdaten 162 kürzer als die ersten Personalisierungsdaten 140 sind. In diesem Fall liegt das logische Ende 163 der zweiten Personalisierungsdaten 162, d.h. das logische Ende 164 der aktualisierten Personalisierungsdaten, vor dem logischen Ende 141 der ersten Personalisierungsdaten 140. Um zu vermeiden, dass nun die zwischen dem logischen Ende 164 und dem logischen Ende 141 angeordneten Restdaten 170 mit ausgelesen werden, wird das logische Ende 163 der zweiten Personalisierungsdaten 162 als das logische Ende 164 der aktualisierten Personalisierungsdaten identifiziert. Figure 1d 12 shows a case where the logical end 164 of the updated personalization data, which corresponds to the logical end 163 of the second personalization data 162, lies beyond the logical end 141 of the first personalization data 140. In this case, the second personalization data 162 is longer than the first personalization data 140. Thus, when the first personalization data 140 is overwritten with the second personalization data 162, no residual data of the first personalization data 140 remain in the EF 132. Figure 1e shows a situation when first personalization data 140 is overwritten with second personalization data 162, in which the second personalization data 162 is shorter than the first personalization data 140. In this case, the logical end 163 of the second personalization data 162, ie the logical end 164 of the updated personalization data, lies before the logical end 141 of the first personalization data 140 Residual data 170 are also read out, the logical end 163 of the second personalization data 162 is identified as the logical end 164 of the updated personalization data.

Hierzu wird der Zeiger 136 entsprechend aktualisiert, so dass er auf das logische Ende 163, bzw. 164 zeigt.For this purpose, the pointer 136 is updated accordingly, so that it points to the logical end 163 or 164.

Die Figur 2 zeigt ein System 100 aus einem Terminal 102 und einem Wert- oder Sicherheitsdokument 110 in Form einer Chipkarte. Das Terminal 102 beinhaltet in der hier dargestellten Ausführungsform eine Kommunikationsschnittstelle 108, einen Prozessor 104 und einen Speicher 101 zur temporären Speicherung zweiter Personalisierungsdaten 162. Bei dem Speicher 101 kann es sich beispielsweise um einen nicht-flüchtigen Flash-basierten Speicher handeln. Ferner umfasst das dargestellte Terminal 102 ein Authentisierungstoken 107, ein Nachladetoken 105, eine weitere Kommunikationsschnittstelle 109 sowie eine Energiequelle 103. Der Authentisierungstoken 107 und die zweite Kommunikationsschnittstelle 109 stellen hierbei optionale Merkmale des Terminals 102 dar.the figure 2 shows a system 100 from a terminal 102 and a value or security document 110 in the form of a chip card. In the embodiment shown here, the terminal 102 contains a communication interface 108, a processor 104 and a memory 101 for temporarily storing second personalization data 162. The memory 101 can be a non-volatile flash-based memory, for example. The terminal 102 shown also includes an authentication token 107, a reload token 105, a further communication interface 109 and an energy source 103. The authentication token 107 and the second communication interface 109 are optional features of the terminal 102.

Bei der Energiequelle 103 kann es sich beispielsweise um eine Batterie oder eine stromerzeugende Einheit wie beispielsweise eine Brennstoffzelle oder eine Solarzelle handeln. Die Verwendung einer solchen abgeschlossenen Energiequelle 103 könnte den Vorteil haben, dass das Terminal 102 zum einen vollständig autark und zum anderen portabel gestaltet werden kann. Es kann sich bei der Energiequelle 103 jedoch auch um ein Netzteil oder eine andersartige Verbindung zu einer externen Energieversorgung handeln. Ferner ist auch eine Kombination aus externer und interner Energieversorgung möglich, was die Ausfallsicherheit des Terminals 102 verbessern würde.The energy source 103 can be, for example, a battery or a power-generating unit such as a fuel cell or a solar cell. The use of such a closed energy source 103 could have the advantage that the terminal 102 can be made completely self-sufficient on the one hand and portable on the other. However, the energy source 103 can also be a power pack or some other type of connection to an external energy supply. Furthermore, a combination of external and internal energy supply is also possible, which would improve the failsafety of the terminal 102.

Bei dem Speicher 101 kann es sich sowohl um einen flüchtigen als auch einen nicht-flüchtigen Speicher handeln. Hierbei kann es sinnvoll sein, dass der Speicher 101 zur temporären Speicherung von zweiten Personalisierungsdaten 162 als flüchtiger Speicher konfiguriert ist. Dies hätte insbesondere den Vorteil, dass nach dem Abschalten des Terminals 102 nach erfolgreicher Aktualisierung der Personalisierungsdaten auf dem Wert- oder Sicherheitsdokument 110 die in dem Terminal 102 für die Aktualisierung abgelegten zweiten Personalisierungsdaten 162 automatisch gelöscht würden. Somit würde ein Missbrauch der zweiten Personalisierungsdaten 162 durch nachträgliches Auslesen aus dem Terminal 102 verhindert.The memory 101 can be both a volatile and a non-volatile memory. In this context, it can be useful for the memory 101 to be configured as a volatile memory for the temporary storage of second personalization data 162 . This would have the particular advantage that after the terminal 102 has been switched off and the personalization data on the value or security document 110 has been successfully updated, the second personalization data 162 stored in the terminal 102 for the update is automatically updated would be deleted. This would prevent the second personalization data 162 from being misused by subsequent reading out of the terminal 102 .

Das Wert- oder Sicherheitsdokument 110 beinhaltet ein Chipkartenbetriebssystem 118 sowie ein Chipkartendateisystem 117 mit einer logischen Datenstruktur, die EFs 132, 142 mit Personalisierungsdaten 140,150 umfasst. In dem Chipkartendateisystem 117 sind weiter Kontrolldaten 128, 134, 144 gespeichert, wobei die Kontrolldaten 128 einem MF 126 zugeordnet sein können, während die Kontrolldaten 134 und 144 je einem EF 132, 142 und damit einem Satz von Personalisierungsdaten 140, 150 zugeordnet sind. Dabei umfassen die Kontrolldaten 134 und 144 zudem jeweils einen Zeiger, der auf das logische Ende 136, 146 der zugeordneten Personalisierungsdaten 140, 150 verweist (nicht beanspruchte Ausführungsform).The value or security document 110 includes a chip card operating system 118 and a chip card file system 117 with a logical data structure that includes EFs 132, 142 with personalization data 140,150. Control data 128, 134, 144 are also stored in the chip card file system 117, wherein the control data 128 can be assigned to an MF 126, while the control data 134 and 144 are each assigned to an EF 132, 142 and thus to a set of personalization data 140, 150. In this case, the control data 134 and 144 also each include a pointer that refers to the logical end 136, 146 of the associated personalization data 140, 150 (not claimed embodiment).

Wie in Figur 2 schematisch angedeutet, wird durch die Kommunikationsschnittstelle 108 des Terminals 102 eine Kommunikation zwischen dem Terminal 102 und dem Wert- oder Sicherheitsdokument 110 ermöglicht. Beispielsweise kann durch die Kommunikationsschnittstelle 108 das Wert- oder Sicherheitsdokument 110 angesprochen werden, wodurch ein Aktualisierungs- bzw. Nachladevorgang angestoßen werden kann. Hierbei kann die Kommunikationsschnittstelle 108 beispielsweise gemäß ISO 14443 konfiguriert sein. Zum Aufbau einer solchen Kommunikation kann es vorgesehen sein, dass zunächst ein Identifizierungs- und Authentifizierungsvorgang zwischen dem Wert- oder Sicherheitsdokument 110 und dem Terminal 102 ausgeführt wird. Hierzu kann ein entsprechendes Anwendungsprogramm 106 in dem Prozessor 104 des Terminals 102 vorgesehen sein. Beispielsweise kann im Zuge des Authentifizierungsverfahrens ein gegenseitiger Austausch von Sicherheitszertifikaten vorgesehen sein, welche in dem Speicher 124 des Wert- oder Sicherheitsdokument 110 bzw. in einem entsprechenden Authentisierungstoken 107 des Terminals 102 abgelegt sind. Die im Sinne der vorliegenden Erfindung möglichen Authentifizierungsverfahren sind jedoch nicht hierauf beschränkt.As in figure 2 indicated schematically, communication between the terminal 102 and the value or security document 110 is made possible by the communication interface 108 of the terminal 102 . For example, the value or security document 110 can be addressed through the communication interface 108, as a result of which an updating or reloading process can be initiated. In this case, the communication interface 108 can be configured in accordance with ISO 14443, for example. In order to set up such a communication, provision can be made for an identification and authentication process to be carried out between the value or security document 110 and the terminal 102 first. A corresponding application program 106 can be provided in the processor 104 of the terminal 102 for this purpose. For example, a mutual exchange of security certificates can be provided in the course of the authentication method, which are stored in the memory 124 of the value or security document 110 or in a corresponding authentication token 107 of the terminal 102 . However, the authentication methods that are possible within the meaning of the present invention are not limited to this.

Sobald eine sichere Datenverbindung zwischen dem Wert- oder Sicherheitsdokument 110 und dem Terminal 102 aufgebaut wurde, kann der Prozessor 104 des Terminals 102, beispielsweise mittels des Anwendungsprogramms 106, zweite Personalisierungsdaten 162, welche beispielsweise in dem Nachladetoken 105 des Terminals 102 abgelegt sind, in dem Speicher 124 des Wert- oder Sicherheitsdokument 110 speichern. In diesem Fall kann vorgesehen sein, dass zudem ein Indikator ID an das Wert- oder Sicherheitsdokument 110 übermittelt wird, beispielsweise als Teil einer entsprechenden APDU 158, in welcher das Wert- oder Sicherheitsdokument 110 über die Identität des für die Speicherung der zweiten Personalisierungsdaten 162 vorgesehenen EFs 132 informiert wird.As soon as a secure data connection has been established between the value or security document 110 and the terminal 102, the processor 104 of the Terminals 102, for example by means of the application program 106, store second personalization data 162, which are stored, for example, in the reload token 105 of the terminal 102, in the memory 124 of the value or security document 110. In this case, it can be provided that an indicator ID is also transmitted to the value or security document 110, for example as part of a corresponding APDU 158, in which the value or security document 110 about the identity of the storage of the second personalization data 162 provided EFs 132 is informed.

Die weitere Kommunikationsschnittstelle 109 des Terminals 102 kann beispielsweise zur Administration des Terminals 102 konfiguriert sein. Es kann sich beispielsweise bei der Kommunikationsschnittstelle 109 um einen Ethernet-Anschluss handeln. Der Authentisierungstoken 107 sowie der Nachladetoken 105 können sowohl als Softwaretoken als auch als Hardwaretoken zum Beispiel in Form einer Chipkarte zum Einstecken in das Terminal 102 ausgeprägt sein. Beispielsweise kann der Nachladetoken 105 von einem Hersteller des zu aktualisierenden Wert- oder Sicherheitsdokuments geliefert werden. Es ist jedoch auch möglich, dass der Nachladetoken 105 fest in dem Terminal 102 eingebaut ist, so dass herstellerspezifische Aktualisierungsdaten über die Kommunikationsschnittstelle 109 auf das Terminal 102 übertragen werden müssten. Der Nachladetoken 105 kann dabei auch als Speicherbereich innerhalb des Terminals 102 konfiguriert sein. Zweite Personalisierungsdaten 162 können demnach in dem Speicher 101 und/oder in dem Nachladetoken 105 gespeichert sein. Es können dabei auch jeweils unterschiedliche Aktualisierungsdaten in dem in dem Speicher 101 und dem Nachladetoken 105 gespeichert sein.The further communication interface 109 of the terminal 102 can be configured for the administration of the terminal 102, for example. The communication interface 109 can be an Ethernet connection, for example. The authentication token 107 and the reload token 105 can be designed both as a software token and as a hardware token, for example in the form of a chip card for insertion into the terminal 102 . For example, the reload token 105 can be supplied by a manufacturer of the value or security document to be updated. However, it is also possible for the reload token 105 to be permanently installed in the terminal 102 so that manufacturer-specific update data would have to be transmitted to the terminal 102 via the communication interface 109 . The reload token 105 can also be configured as a storage area within the terminal 102 . Accordingly, second personalization data 162 can be stored in the memory 101 and/or in the reload token 105 . Different update data can also be stored in memory 101 and in reload token 105 .

Die Kommunikationsschnittstelle 108, über welche eine Kommunikation des Terminals 102 mit dem Wert- oder Sicherheitsdokument 110 gewährleistet werden soll, kann zusätzlich einen mechanischen Einzug zur teilweisen oder vollständigen Aufnahme des Wert- oder Sicherheitsdokuments 110 in dem Terminal 102 besitzen. Dabei kann der Einzug dergestalt sein, dass er das Wert- oder Sicherheitsdokuments 110 zumindest für die Dauer des Nachladevorgangs vor einer Entnahme aus dem Terminal 102 durch einen Nutzer schützt. Hierdurch kann während des Nachladevorgangs eine unterbrechungsfreie Kommunikation und Energiezufuhr gewährleistet werden.The communication interface 108, via which communication between the terminal 102 and the value or security document 110 is to be ensured, can additionally have a mechanical feeder for partially or completely receiving the value or security document 110 in the terminal 102. In this case, the collection can be such that the valuable or security document 110 is withdrawn at least for the duration of the reloading process before removal the terminal 102 by a user. This ensures uninterrupted communication and power supply during the reloading process.

Wie zuvor bereits ausgeführt wurde, ist das Terminal 102 dazu konfiguriert, zumindest Teile der in dem Wert- oder Sicherheitsdokument 110 gespeicherten Personalisierungsdaten 140, 150 im Zuge eines Nachladevorgangs zu ersetzen. Der Nachladevorgang ist dabei ein mehrteiliger Prozess, dem eine Initialisierung vorangestellt ist. In der Initialisierung werden die zweiten Personalisierungsdaten 162 zum Aktualisieren entweder als Softwaretoken über die Kommunikationsschnittstelle 109 auf das Terminal 102 aufgespielt oder als Hardwaretoken 105 in das Terminal 102 eingebracht.As already explained above, the terminal 102 is configured to replace at least parts of the personalization data 140, 150 stored in the value or security document 110 in the course of a reloading process. The reloading process is a multi-part process that is preceded by an initialization. In the initialization, the second personalization data 162 for updating is either uploaded to the terminal 102 as a software token via the communication interface 109 or introduced into the terminal 102 as a hardware token 105 .

Die Figur 3 zeigt ein Chipkartensystem 100 mit einem Terminal 102. Bei dem Terminal 102 kann es sich beispielsweise um ein Lesegerät für ein hoheitliches Dokument, insbesondere für einen elektronischen Personalausweis, einen elektronischen Aufenthaltstitel oder einen elektronischen Reisepass, handeln. Der Terminal 102 hat einen Prozessor 104 zur Durchführung eines Anwendungsprogramms 106, welches mit einem Wert- oder Sicherheitsdokument 110 in Form einer Chipkarte interoperabel ist, sowie eine Schnittstelle 108 zum Aufbau einer Kommunikationsverbindung mit einer entsprechenden Schnittstelle 112 der Chipkarte 110.the figure 3 shows a chip card system 100 with a terminal 102. The terminal 102 can be, for example, a reading device for an official document, in particular for an electronic identity card, an electronic residence permit or an electronic passport. Terminal 102 has a processor 104 for executing an application program 106, which is interoperable with a value or security document 110 in the form of a chip card, and an interface 108 for establishing a communication link with a corresponding interface 112 of chip card 110.

Die Schnittstellen 108 und 112 sind als kontaktlose Schnittstellen konfiguriert, insbesondere als RFID oder NFC-Schnittstellen. Vorzugsweise verfügt die Chipkarte 110 nicht über eine eigene Energieversorgung, sondern wird durch Einkopplung elektromagnetischer Energie von der Schnittstelle 108 in die Schnittstelle 112 mit elektrischer Energie versorgt, wozu die Schnittstelle 112 eine Antenne aufweist.The interfaces 108 and 112 are configured as contactless interfaces, in particular as RFID or NFC interfaces. The chip card 110 preferably does not have its own energy supply, but is supplied with electrical energy by coupling electromagnetic energy from the interface 108 into the interface 112, for which purpose the interface 112 has an antenna.

Die Chipkarte 110 hat einen Prozessor 114 zur Durchführung eines Programmmoduls 116 für die Authentifizierung des Terminals 102 oder die gegenseitige Authentifizierung des Terminals 102 und der Chipkarte 110. Hierzu kann das Programmmodul 116 beispielsweise diejenigen Schritte eines Challenge-Response-Protokolls implementieren, welche die Chipkarte 110 betreffen, wobei das Anwendungsprogramm 106 dann diejenigen Schritte des Challenge-Response-Protokolls implementieren kann, welche das Terminal 102 betreffen. Eine andere Möglichkeit ist die Authentifizierung mittels einer geheimen Kennung, z.B. einer sog. PIN, die ein Nutzer in das Terminal eingibt, und die von dem Programmmoduls 116 überprüft wird, z.B. nach dem PACE Protokoll, wie es vom Bundesamt für Sicherheit in der Informationstechnik (BSI) spezifiziert worden ist.The smart card 110 has a processor 114 for executing a program module 116 for the authentication of the terminal 102 or the mutual authentication of the terminal 102 and the smart card 110. For this purpose, the program module 116, for example, those steps of a challenge-response protocol implement, which concern the chip card 110, wherein the application program 106 can then implement those steps of the challenge-response protocol, which concern the terminal 102. Another possibility is authentication by means of a secret identifier, for example a so-called PIN, which a user enters into the terminal and which is checked by the program module 116, for example according to the PACE protocol, as specified by the Federal Office for Information Security ( BSI) has been specified.

Der Prozessor 114 dient ferner zur Ausführung eines Chipkartenbetriebssystems 118 und hat einen flüchtigen Arbeitsspeicher 120. Der Prozessor 116 ist mit der Schnittstelle 112 der Chipkarte 110 verbunden sowie über einen internen Datenbus 122 mit einem nicht-flüchtigen geschützten elektronischen Speicher 124.The processor 114 is also used to run a chip card operating system 118 and has a volatile main memory 120. The processor 116 is connected to the interface 112 of the chip card 110 and via an internal data bus 122 to a non-volatile, protected electronic memory 124.

In dem Speicher 124 sind Dateien eines Chipkartendateisystems 117 gespeichert, die einen Dateibaum bilden. Die Figur 3 zeigt exemplarisch ein nicht erfindungsgemäßes MF 126 des Dateibaums, das Kontrolldaten 128 einschließlich einem Zeiger 130 auf einen Nachfolgerknoten, d. h. das EF 132, beinhaltet. Das nicht beanspruchte EF 132 beinhaltet ebenfalls Kontrolldaten 134, einschließlich einem Zeiger 138 auf deren Nachfolgerknoten in dem Dateibaum, nämlich ein EF 142 sowie einen Zeiger 136 auf das logische Ende der Personalisierungsdaten 140, die ebenfalls in dem EF 132 gespeichert sind.Files of a chip card file system 117 are stored in the memory 124 and form a file tree. the figure 3 shows an example of a MF 126 of the file tree, not according to the invention, which contains control data 128 including a pointer 130 to a successor node, ie the EF 132 . The unclaimed EF 132 also includes control data 134, including a pointer 138 to its child node in the file tree, namely an EF 142, and a pointer 136 to the logical end of the personalization data 140 also stored in the EF 132.

Eine dazu analoge Struktur weist nicht beanspruchte EF 142 auf, welches Kontrolldaten 144 umfasst, einschließlich eines Zeigers 146 auf das logischer Ende der ebenfalls in dem EF 142 gespeicherten Personalisierungsdaten 150 und einen Zeiger 148 auf einen in der Figur 3 nicht gezeigten Nachfolgerknoten des EF 142 in dem Dateibaum.A structure analogous thereto has unclaimed EF 142, which includes control data 144, including a pointer 146 to the logical end of the personalization data 150 also stored in the EF 142 and a pointer 148 to one in the figure 3 child nodes, not shown, of EF 142 in the file tree.

Im Zuge der Aktualisierung empfängt die Chipkarte 110 von dem Terminal 102 zweite Personalisierungsdaten 162, beispielsweise indem das Anwendungsprogramm 106 eine Kommando-APDU 158 von der Schnittstelle 108 an die Schnittstelle 112 sendet, welche die zweite Personalisierungsdaten 162 beinhaltet sowie eine Spezifikation ID des EF des Chipkartendateisystems 117, deren Personalisierungsdaten zu ändern sind. Ohne Beschränkung der Allgemeinheit wird im Weiteren beispielhaft davon ausgegangen, dass es sich hierbei um das EF 132 bzw. dessen Personalisierungsdaten 140 handelt.In the course of the update, the chip card 110 receives second personalization data 162 from the terminal 102, for example by the application program 106 sending a command APDU 158 from the interface 108 to the interface 112, which contains the second personalization data 162 and a specification ID of the EF of the chip card file system 117 whose personalization data are to be changed. Without loss of generality, the following is an example assumed that this is the EF 132 or its personalization data 140.

Zudem ist ein Flag F 152 in dem Speicher 124 gezeigt, welches das Chipkartenbetriebssystem 118 initial zu Beginn des Aktualisierungsvorgangs setzt und nach dessen Beendigung wieder löscht. Ferner kann zusammen mit dem Flag F 152 auch eine Protokolldatei P in dem Speicher 124 angelegt werden, um die Schritte des Aktualisierungsvorgangs zu protokollieren.In addition, a flag F 152 is shown in the memory 124, which the chip card operating system 118 initially sets at the beginning of the update process and deletes it again after its completion. Furthermore, together with the flag F 152, a log file P can also be created in the memory 124 in order to log the steps of the update process.

Im Folgenden wird nun anhand der Figur 4 eine Ausführungsform des erfindungsgemäßen Aktualisierungsvorgangs beschrieben.The following is now based on the figure 4 an embodiment of the update process according to the invention is described.

In einem ersten Verfahrensschritt des in Figur 4 dargestellten Verfahrensablaufes zum Nachladen von Personalisierungsdaten 162 von einem Terminal 102 auf ein Wert- oder Sicherheitsdokument 110 wird das Terminal 102 aktiviert. Hierbei kann beispielsweise die Aktivierung durch Betätigung eines Netzschalters erfolgen oder das Terminal 102 kann so konfiguriert sein, dass es bei einem Einführen eines Wert- oder Sicherheitsdokument 110 in einen entsprechenden mechanischen Einzug aus einem Ruhezustand aufgeweckt wird. Anschließend kann eine Bedienerauthentifizierung, beispielsweise durch eine Passwortabfrage vorgesehen sein, die bei Erfolg den Aktualisierungsprozess anstößt. Hierzu muss das Terminal 102 allerdings über eine geeignete Eingabemöglichkeit, wie beispielsweise eine Tastatur, sowie über den Authentisierungstoken 107 verfügen.In a first step of the in figure 4 illustrated procedure for reloading personalization data 162 from a terminal 102 on a value or security document 110, the terminal 102 is activated. In this case, for example, activation can take place by actuating a power switch, or the terminal 102 can be configured in such a way that it is woken up from an idle state when a value or security document 110 is inserted into a corresponding mechanical feeder. An operator authentication can then be provided, for example by means of a password query, which, if successful, initiates the update process. To do this, however, the terminal 102 must have a suitable input option, such as a keyboard, and the authentication token 107 .

Nachdem das Terminal 102 aktiviert wurde, wird Energie auf das Wert- oder Sicherheitsdokument 110 übertragen, wodurch auch das Wert- oder Sicherheitsdokument 110 aktiviert wird. Anschließend wird ein Kommunikationskanal zwischen Terminal 102 und dem Wert- oder Sicherheitsdokument 110 aufgebaut. Dies kann beispielsweise durch Einführen des Wert- oder Sicherheitsdokuments 110 in den Schlitz eines Kartenlesers oder durch Aufbauen einer Drahtlosverbindung erfolgen.After the terminal 102 has been activated, energy is transferred to the value or security document 110, whereby the value or security document 110 is also activated. A communication channel is then set up between the terminal 102 and the value or security document 110 . This can be done, for example, by inserting the value or security document 110 into the slot of a card reader or by setting up a wireless connection.

Anschließend erfolgt eine gegenseitige Authentifizierung des Terminals 102 und des Wert- oder Sicherheitsdokuments 110, so dass zwischen dem Terminal 102 und dem Wert- oder Sicherheitsdokuments 110 ein sicherer Kanal aufgebaut werden kann. Hierzu können in dem Terminal 102, beispielsweise in dem Authentisierungstoken 107, entsprechende Authentisierungsdaten hinterlegt sein, welche im Zuge der gegenseitigen Authentifizierung Verwendung finden. Durch die Authentifizierung des Terminals 102 gegenüber dem Wert- oder Sicherheitsdokuments 110 wird eine notwendige Authorisierung des Terminals 102 zum Nachladen von Daten in das Wert- oder Sicherheitsdokuments 110 erwirkt.The terminal 102 and the value or security document 110 are then mutually authenticated, so that a secure channel can be set up between the terminal 102 and the value or security document 110 . For this purpose, corresponding authentication data can be stored in the terminal 102, for example in the authentication token 107, which are used in the course of the mutual authentication. A necessary authorization of the terminal 102 for reloading data into the value or security document 110 is obtained by the authentication of the terminal 102 with respect to the value or security document 110 .

Um Personalisierungsdaten 162 in ein EF 132 des Wert- oder Sicherheitsdokuments 110 schreiben zu können, überträgt das Terminal 102 als Nachweisen einer Zugriffsberechtigung eine kryptographische Information an das Wert- oder Sicherheitsdokument 110, wobei die übertragene kryptographische Information eine kryptographische Zugriffsbedingung des EF 132 erfüllt.In order to be able to write personalization data 162 into an EF 132 of the value or security document 110, the terminal 102 transmits cryptographic information to the value or security document 110 as proof of an access authorization, the transmitted cryptographic information fulfilling a cryptographic access condition of the EF 132.

In einem folgenden Verfahrensschritt generiert oder aktiviert das Terminal einen bereits existierenden Schlüssel zur Verschlüsselung der gesamten oder Teile der zweiten Personalisierungsdaten 162 und des zugehörigen Schreibkommandos. Anschließend werden die zweiten Personalisierungsdaten 162 und des zugehörigen Schreibkommandos verschlüsselt über den sicheren Kanal von dem Terminal 102 an das Wert-oder Sicherheitsdokument 110 übertragen.In a subsequent method step, the terminal generates or activates an already existing key for encrypting all or part of the second personalization data 162 and the associated write command. The second personalization data 162 and the associated write command are then transmitted in encrypted form from the terminal 102 to the value or security document 110 via the secure channel.

Anschließend werden die zweiten Personalisierungsdaten 162 auf dem Wert- oder Sicherheitsdokument 110 entschlüsselt und gemäß dem Schreibkommando in das EF 132 zur Aktualisierung der ersten Personalisierungsdaten 140 geschrieben.The second personalization data 162 on the value or security document 110 is then decrypted and written to the EF 132 in accordance with the write command in order to update the first personalization data 140 .

Anschließend wird der Zeiger 136 aktualisiert, so dass er auf das logische Ende 164 der aktualisierten Personalisierungsdaten weist. Die erfolgreiche Durchführung der Aktualisierung wird von dem Wert- oder Sicherheitsdokument 110 gegenüber dem Terminal 102 durch Übertragen einer Antwort mit einer Schreibbestätigung bestätigt.Then the pointer 136 is updated to point to the logical end 164 of the updated personalization data. The successful implementation of the update is confirmed by the value or security document 110 to the terminal 102 by transmitting a response with a write confirmation.

Anschließend wird die Verbindung und der sichere Kanal zwischen Terminal 102 und Wert- oder Sicherheitsdokument 110 abgebaut und die Energieversorgung beendet. Hierdurch wird das Wert- oder Sicherheitsdokument 110 deaktiviert.The connection and the secure channel between the terminal 102 and the value or security document 110 are then cleared and the power supply is terminated. As a result, the value or security document 110 is deactivated.

Wurde das Wert- oder Sicherheitsdokument 110 in einen entsprechenden mechanischen Einzug des Terminals 102 eingezogen, wird das Wert- oder Sicherheitsdokument 110 ausgegeben und das Terminal 102 wieder deaktiviert.If the value or security document 110 was drawn into a corresponding mechanical feeder of the terminal 102, the value or security document 110 is issued and the terminal 102 is deactivated again.

Zur Aktualisierung der Personalisierungsdaten 140 des EF 132 kann beispielsweise wie folgt vorgegangen werden, wie in der Figur 5 gezeigt:
In dem Schritt 500 erfolgt zunächst eine Authentifizierung des Terminals 102 gegenüber der Chipkarte 110. Neben der Authentifizierung kann auch eine Berechtigungsprüfung erfolgen, nämlich dahingehend, ob das Terminal 102 die erforderlichen Rechte zur Änderung von Personalisierungsdaten 140 hat. Dies kann beispielsweise so erfolgen, dass das Terminal 102 ein Berechtigungszertifikat an die Chipkarte 110 überträgt, wobei in dem Berechtigungszertifikat die Rechte des Terminals 102 zur Änderung der Personalisierungsdaten 140 angegeben sind. Das Berechtigungszertifikat enthält eine kryptographische Information, die eine in den Kontrolldaten 134 definierte kryptographische Zugriffsbedingung des EF 132 erfüllt.
The procedure for updating the personalization data 140 of the EF 132 can be as follows, for example, as in FIG figure 5 shown:
In step 500, the terminal 102 is first authenticated with respect to the chip card 110. In addition to the authentication, an authorization check can also be carried out, namely whether the terminal 102 has the necessary rights to change personalization data 140. This can be done, for example, by the terminal 102 transmitting an authorization certificate to the chip card 110, the rights of the terminal 102 to change the personalization data 140 being specified in the authorization certificate. The authorization certificate contains cryptographic information that satisfies a cryptographic access condition of the EF 132 defined in the control data 134 .

In dem Schritt 502 empfängt die Chipkarte 110 von dem Terminal 102 zweite Personalisierungsdaten 162, beispielsweise indem das Anwendungsprogramm 106 eine Kommando-APDU 158 von der Schnittstelle 108 an die Schnittstelle 112 sendet, welche die zweite Personalisierungsdaten 162 beinhaltet sowie auch eine Spezifikation ID des EFs des Chipkartendateisystems, dessen erste Personalisierungsdaten zu ändern sind. Hierbei handelt es sich ohne Beschränkung der Allgemeinheit beispielsweise um das EF 132 bzw. dessen Personalisierungsdaten 140.In step 502, the chip card 110 receives second personalization data 162 from the terminal 102, for example by the application program 106 sending a command APDU 158 from the interface 108 to the interface 112, which contains the second personalization data 162 and also a specification ID of the EF of the Chip card file system whose first personalization data are to be changed. This is, for example, the EF 132 or its personalization data 140 without loss of generality.

In dem Schritt 504 setzt das Chipkartenbetriebssystem 118 ein Flag F 152 in dem Speicher 124. Ferner kann auch eine Protokolldatei P in dem Speicher 124 angelegt werden, um die nachfolgenden Schritte des Aktualisierungsvorgangs zu protokollieren.In step 504, the chip card operating system 118 sets a flag F 152 in the memory 124. A log file P can also be created in the memory 124 to log the subsequent steps of the update process.

In dem Schritt 506 greift das Chipkartenbetriebssystem 118 über den internen Datenbus 122 auf den Speicher 124 zu und überschreibt mit den zweiten Personalisierungsdaten 162 der APDU 158 teilweise die ersten Personalisierungsdaten 140 und ersetzt hierdurch die vorherige Version der Personalisierungsdaten 140. Hierbei sind die zweiten Personalisierungsdaten 162 kürzer als die ersten Personalisierungsdaten 140, weshalb es nur zu einem teilweisen Überschreiben kommt. Ein Rest der vorherigen Version der Personalisierungsdaten 140 bleibt in dem EF 132 erhalt und ist unmittelbar im Anschluss an das logisch Ende 163 der zweiten Personalisierungsdaten 162 angeordnet, wobei das logisch Ende 163 der zweiten Personalisierungsdaten 162 im vorliegenden Fall mit dem logischen Ende 164 der aktualisierten Personalisierungsdaten zusammenfällt.In step 506, the chip card operating system 118 accesses the memory 124 via the internal data bus 122 and partially overwrites the first personalization data 140 with the second personalization data 162 of the APDU 158, thereby replacing the previous version of the personalization data 140. The second personalization data 162 is shorter in this case than the first personalization data 140, so only partial overwriting occurs. A remainder of the previous version of the personalization data 140 remains in the EF 132 and is arranged immediately following the logical end 163 of the second personalization data 162, the logical end 163 of the second personalization data 162 in the present case being aligned with the logical end 164 of the updated personalization data coincides.

Das Kommando-APDU 158 enthält die Personalisierungsdaten 162 und einen Identifikator (ID) 160 derjenigen Datei, deren Personalisierungsdaten zu ändern sind, hier des EF 132 dessen Personalisierungsdaten 140 zu ändern sind.The command APDU 158 contains the personalization data 162 and an identifier (ID) 160 of that file whose personalization data are to be changed, here the EF 132 whose personalization data 140 are to be changed.

In dem Schritt 508 wird dann der Zeiger 136 aktualisiert, so dass er nicht mehr auf das logische Ende 141 der Personalisierungsdaten 140, sondern auf das logische Ende 164 der aktualisierten Personalisierungsdaten verweist. Im vorliegenden Beispiel fällt das logische Ende 163 der zweiten Personalisierungsdaten 162 mit dem logischen Ende 164 der aktualisierten Personalisierungsdaten zusammen. Die übrigen Daten des Datensystems können unverändert bleiben.In step 508, the pointer 136 is then updated so that it no longer points to the logical end 141 of the personalization data 140 but to the logical end 164 of the updated personalization data. In the present example, the logical end 163 of the second personalization data 162 coincides with the logical end 164 of the updated personalization data. The rest of the data in the data system can remain unchanged.

Nachdem hierdurch der Änderungsvorgang der Personalisierungsdaten 140 abgeschlossen worden ist, wird in dem Schritt 510 das Flag 152 zurückgesetzt und die Protokolldatei 154 wird gelöscht.After the process of changing the personalization data 140 has been completed in this way, the flag 152 is reset in step 510 and the log file 154 is deleted.

In Schritt 512 schließlich wird von dem Wert- oder Sicherheitsdokument eine Antwort mit einer Schreibbestätigung erstellt und in Schritt 514 über die kontaktlose Kommunikationsschnittstelle 112 an das Terminal 102 gesandt.Finally, in step 512 a reply with a write confirmation is generated from the value or security document and sent to the terminal 102 in step 514 via the contactless communication interface 112 .

Ein weiteres Beispiel für eine Aktualisierung der Personalisierungsdaten 140 wird in Figur 6 gezeigt:
Die Schritte 600, 602, 604 und 606 entsprechen den Schritten 500, 502, 504 und 506 aus Figur 5. An den Schritt 606 schließt sich der Schritt 607 an, in dem auf Basis eines Indikators im Schreibkommando geprüft wird, ob es sich um ein abschließendes Schreibkommando handelt oder ob weitere Schreibkommandos folgen. Folgt ein weiteres Schreibkommando, so wird der Schritt 606 mit dem folgenden Schreibkommando wiederholt. Die entsprechende Schleife wird dabei sooft durchlaufen, bis ein entsprechender Indikator ein Schreibkommando als abschließendes Schreibkommando identifiziert. In diesem Fall wird das Verfahren mit Schritt 608 fortgesetzt. Die weiteren Schritte 608, 610, 612 und 614 entsprechen den Schritten 508, 510, 512 und 514 aus Figur 5.
Another example for an update of the personalization data 140 is given in figure 6 shown:
Steps 600, 602, 604, and 606 correspond to steps 500, 502, 504, and 506 of FIG figure 5 . Step 606 is followed by step 607, in which it is checked on the basis of an indicator in the write command whether it is a final write command or whether further write commands follow. If another write command follows, step 606 is repeated with the following write command. The corresponding loop is run through until a corresponding indicator identifies a write command as the final write command. In this case the method continues with step 608 . The further steps 608, 610, 612 and 614 correspond to the steps 508, 510, 512 and 514 from figure 5 .

Die Figuren7a bis 7c sind schematische Darstellungen eines erfindungsgemäßen Aktualisierungsverfahrens gezeigt. Figur 7a zeigt ein EF 132, welches erste Personalisierungsdaten 140 aufweist. Diese Personalisierungsdaten 140 sind in drei Teilabschnitte 140′, 140ʺ und 140‴ unterteilt. Das logische Ende 141 der ersten Personalisierungsdaten 140 wird durch das Ende des dritten Teilabschnitts 140‴ definiert. Im Zuge einer Aktualisierung der ersten Personalisierungsdaten 140 durch zweite Personalisierungsdaten 162 soll lediglich der mittlere Teilabschnitt 140" der ersten Personalisierungsdaten 140 durch die zweiten Personalisierungsdaten 162 ersetzt werden. Der dritte Teilabschnitt 140‴ soll demgegenüber erhalten bleiben. Hierzu weist das entsprechende Schreibkommando einen Offsetwert auf, der der Länge des ersten Teilabschnitts 140′ entspricht. Somit wird, wie in Figur 7b gezeigt, der mittlere Teilabschnitt 140ʺ ab dem Ende des ersten Teilabschnitts 140′ mit den zweiten Aktualisierungsdaten 162 überschrieben. Da die zweiten Aktualisierungsdaten 162 kürzer sind als der mittlere Teilabschnitt 140" der ersten Personalisierungsdaten 140, verbleiben ungewünschte Restdaten 170'. Um die Restdaten 170' zu vermeiden und zugleich den letzten Teilabschnitt 140‴ vollständig zu erhalten, wird der letzte Teilabschnitt 140‴ physikalisch an das logische Ende 163 der zweiten Personalisierungsdaten 162 verschoben. Dieses physikalische Verschieben kann beispielsweise durch ein Auslesen des zu verschiebenden letzte Teilabschnitt 140‴ aus dem EF 132 und Schreiben des Teilabschnitt 140‴ an das logische Ende 163 der zweiten Personalisierungsdaten 162 erfolgen. Dadurch verbleiben zwar Restdaten 170 am Ende des aktualisierten Datenblocks, welche aber durch Setzen des Zeigers 136 auf das Ende des verschobenen Teilabschnitts 140‴ vernachlässigt werden können. Somit wird als logisches Ende 164 der aktualisierten Personalisierungsdaten das Ende des verschobenen dritten Teilabschnitts 140‴ festgelegt. Der verbleibenden Restdaten 170 zwischen dem logischen Ende 164 und dem logischen Ende 141 der ersten Personalisierungsdaten wird infolgedessen bei zukünftigen Auslesevorgängen nicht mehr mit ausgelesen werden, da ein Auslesen nur bis zu dem vom Zeiger 136 festgelegten Punkt erfolgt.the Figures 7a to 7c Schematic representations of an update method according to the invention are shown. Figure 7a shows an EF 132, which has first personalization data 140. This personalization data 140 is divided into three sections 140', 140' and 140'. The logical end 141 of the first personalization data 140 is defined by the end of the third section 140‴. In the course of an update of the first personalization data 140 with second personalization data 162, only the middle section 140" of the first personalization data 140 is to be replaced by the second personalization data 162. In contrast, the third section 140‴ is to be retained. For this purpose, the corresponding write command has an offset value, which 'corresponds to the length of the first section 140. Thus, as in Figure 7b shown, the middle section 140 'overwritten from the end of the first section 140' with the second update data 162 . Since the second update data 162 is shorter than the middle section 140" of the first personalization data 140, undesired residual data 170' remain. In order to avoid the residual data 170' and at the same time to completely retain the last subsection 140‴, the last subsection 140‴ is physically shifted to the logical end 163 of the second personalization data 162. This physical shifting can take place, for example, by reading out the last subsection 140‴ to be shifted from the EF 132 and writing the subsection 140‴ to the logical end 163 of the second personalization data 162. As a result, residual data 170 remains at the end of the updated data block, but this can be ignored by setting the pointer 136 to the end of the shifted subsection 140‴. The end of the shifted third section 140‴ is thus defined as the logical end 164 of the updated personalization data. As a result, the residual data 170 between the logical end 164 and the logical end 141 of the first personalization data will no longer be read out in future read-out processes, since a read-out only takes place up to the point specified by the pointer 136 .

BezugszeichenlisteReference List

100100
Chipkartensystemchip card system
101101
SpeicherStorage
102102
Terminalterminal
103103
Energiequelleenergy source
104104
Prozessorprocessor
105105
Nachladetokenreload token
106106
Programmprogram
107107
Authentisierungstokenauthentication token
108108
Schnittstelleinterface
109109
Schnittstelleinterface
110110
Wert -oder Sicherheitsdokumentvalue or security document
112112
Schnittstelleinterface
114114
Prozessorprocessor
116116
Programmprogram
117117
Chipkartendateisystemsmart card file system
118118
Chipkartenbetriebssystemchip card operating system
120120
Arbeitsspeicherrandom access memory
122122
Datenbusdata bus
124124
SpeicherStorage
126126
Master File (MF)Master File (MF)
128128
Kontrolldatencontrol data
130130
Zeigerpointer
132132
Elementary File (EF)Elementary File (EF)
134134
Kontrolldatencontrol data
136136
Zeigerpointer
138138
Zeigerpointer
140140
PersonalisierungsdatenPersonalization Data
140'140'
Teilabschnitt PersonalisierungsdatenPersonalization Data subsection
140"140"
Teilabschnitt PersonalisierungsdatenPersonalization Data subsection
140‴140‴
Teilabschnitt PersonalisierungsdatenPersonalization Data subsection
141141
logisches Endelogical end
162162
PersonalisierungsdatenPersonalization Data
142142
Elementary File (EF)Elementary File (EF)
144144
Kontrolldatencontrol data
146146
Zeigerpointer
148148
Zeigerpointer
150150
PersonalisierungsdatenPersonalization Data
151151
logisches Endelogical end
152152
Flag (F)Flag (F)
154154
Protokolldatei (P)log file (P)
158158
APDUAPDU
160160
Identifikatoridentifier
162162
PersonalisierungsdatenPersonalization Data
163163
logisches Endelogical end
164164
logisches Endelogical end
166166
physikalisches Endephysical end
170170
Restdatenresidual data
170'170'
Restdatenresidual data

Claims (13)

  1. A method for updating first personalisation data (140) of a value document or security document (110) by means of second personalisation data (162), wherein
    the value document or security document (110) has a non-volatile electronic memory (124) having a chip card operating system (118) and having a chip card file system (117), wherein the chip card file system (117) comprises a dedicated file (126) having at least one elementary file (132),
    wherein the elementary file (132) has a predefined physical storage length,
    wherein the elementary file (132) comprises control data (134) and first personalisation data (140),
    wherein the control data (134) comprise a cryptographic access condition and reading and/or writing in the elementary file (132) is possible only if the cryptographic access condition is fulfilled, and wherein
    a pointer (136) is stored in the chip card file system (117), which pointer indicates the logical end (141) of the first personalisation data (140) in the elementary file (132), wherein the value document or security document (110) also has a contactless communication interface (112) for receiving and transmitting personalisation data (162), wherein the updating of the first personalisation data (140) with second personalisation data (162) comprises:
    • coupling electrical energy into the value document or security document (110) via the contactless communication interface (112) to supply power to the value document or security document (110) by a terminal (102),
    • authenticating the terminal (102) and value document or security document (110) to one another and demonstrating access authorisation via the contactless communication interface (112), wherein the demonstration of access authorisation comprises at least a transmission of cryptographic information from the terminal (102) to the value document or security document (110), wherein the transmitted cryptographic information satisfies the cryptographic access condition of the elementary file (132),
    on the condition of successful mutual authentication and at least fulfilment of the cryptographic access condition of the elementary file (132):
    • receiving a first writing command of the terminal (102) to update the first personalisation data (140) in the elementary file (132) with the second personalisation data (162) via the contactless communication interface (112), wherein the chip card operating system (118) is configured such that the chip card operating system performs the following functions in response to the receipt of the writing command:
    • updating the first personalisation data (140) by writing the second personalisation data (162) into the elementary file (132),
    • determining the logical end (163) of the updated personalisation data,
    • creating an updated pointer (136) that indicates the logical end (163) of the updated personalisation data,
    • storing the updated pointer (136) in the chip card file system (117),
    • creating a response with a writing confirmation, and
    • sending the response via the contactless communication interface (112) to the terminal (102),
    wherein the dedicated file (126) comprises a plurality of elementary files (132, 142) and a pointer table, wherein the pointer table assigns each elementary file (132, 142) a pointer (136, 146) which indicates the logical end (141, 151) of the personalisation data (140, 150) stored in the assigned elementary file (132, 142).
  2. The method according to one of the preceding claims, wherein the updated personalisation data are shorter than the first personalisation data (140), so that the logical end (163) of the updated personalisation data is arranged before the logical end (141) of the first personalisation data (140).
  3. The method according to one of the preceding claims, wherein the method, prior to the writing of the second personalisation data (162), performs the following checks:
    • determining the length of the elementary file (132) necessary for the writing process,
    • determining whether the length of the elementary file (132) corresponds at least to the previously determined length, wherein the method is continued only if the length of the elementary file (132) is greater than or equal to the previously determined length.
  4. The method according to claim 3, wherein the determination of the length of the elementary file (132) necessary for the writing process comprises:
    • determining the logical end (141) of the first personalisation data (140) by reading the pointer (136) from the chip card file system (117),
    • determining the anticipated logical end (163) of the updated personalisation data as a result of the updating of the first personalisation data (140) in the elementary file (132) on the basis of the length of the second personalisation data (162).
  5. The method according to one of the preceding claims, wherein the logical file end (164) after the writing of the second personalisation data (162) is set at the end (163) of the second personalisation data (162) by creating an updated pointer (136) which indicates the logical end (164) of the updated personalisation data.
  6. The method according to one of claims 1 to 4, wherein the writing command is a writing command from a sequence of writing commands, wherein a last writing command from the sequence of writing commands comprises an indicator which indicates that the last writing command is a terminating writing command, and wherein the preceding writing commands each comprise an indicator which indicates that a further writing command follows.
  7. The method according to claim 6, wherein the method comprises:
    before the updating of the pointer (136), checking on the basis of the indicator whether the writing command is a terminating writing command: if the writing command is not a terminating writing command, performing the next writing command in the sequence; if the writing command is a terminating writing command,
    setting the logical file end (164), once the terminating writing command has been performed, to the end of the updated personalisation data by creating an updated pointer (136) which indicates the logical end (164) of the updated personalisation data.
  8. The method according to one of claims 1 to 4, wherein the logical file end (164), in response to a selection of another file and/or another directory, is set to the end of the updated personalisation data by creating an updated pointer (136) which indicates the logical end (164) of the updated personalisation data.
  9. The method according to one of the preceding claims, wherein the updating of the first personalisation data (140) is performed by overwriting with the second personalisation data (162) starting at the beginning of the first personalisation data (140).
  10. The method according to one of claims 1 to 8, wherein the writing command comprises an offset value which determines a starting point within the storage length of the elementary file (132) for the updating of the first personalisation data (140), and the first personalisation data (140) are updated by overwriting with the second personalisation data (162), or
    wherein the first personalisation data (140) are read before being updated, a starting point within the storage length of the elementary file (132) for the updating of the first personalisation data (140) is determined on the basis of the read first personalisation data (140), and the first personalisation data (140) are updated by overwriting with the second personalisation data (162).
  11. The method according to one of the preceding claims, wherein the writing command comprises a command for retaining a portion (140‴) of the first personalisation data (140) which is arranged downstream of a portion (140ʺ) of the first personalisation data (140) that is to be updated, wherein the retention of the downstream portion (140") comprises:
    • after the writing of the second personalisation data (162), wherein the second personalisation data (162) are shorter than the portion (140ʺ) of the first personalisation data (140) that is to be updated, shifting the downstream portion (140ʺ) to the end of the second personalisation data (162),
    • defining the end of the downstream portion (140ʺ) as the logical end (164) of the updated personalisation data by creating an updated pointer (136) which indicates the logical end (164) of the updated personalisation data.
  12. The method according to one of the preceding claims, wherein, at the start of the updating of the first personalisation data (140), a flag (152) is initially set by the chip card operating system (118) in the non-volatile electronic memory (124) of the value document or security document (110), which flag indicates the start of the updating process for updating the first personalisation data (140), and wherein the flag (152) is deleted once the pointer (136) has been updated, and/or
    also comprising a download token (105), wherein the second personalisation data (162) to be downloaded to the value document or security document (110) are contained on the download token (105), wherein the download token (105) is connected at the start of the method to the terminal (102), wherein the connection between terminal (102) and download token (105) is configured for a data transfer between terminal (102) and download token (105), wherein the terminal (102) is configured to extract from the download token (105) the second personalisation data (162) that are to be downloaded and to transfer said data into the non-volatile electronic memory (124) of the value document or security document (110), and/or
    wherein the value document and/or security document (110) contains a certificate with a public key of an asymmetric key pair, wherein the second personalisation data (162) to be downloaded onto the value document or security document (110) contain a cryptographic signature, wherein the value document or security document (110) is configured, after receipt from the terminal (102) of the second personalisation data (162) to be downloaded, to verify the cryptographic signature of the received second personalisation data (162) with the public key of the certificate, wherein the value document or security document (110) deletes from the non-volatile electronic memory (124) of the value document or security document (110) any downloaded second personalisation data (162) for which signing with the public key cannot be verified.
  13. The method according to one of the preceding claims, wherein the terminal (102) has at least one electronic memory (101), a contactless communication interface (108, 109), a closed housing and a mechanical feeder, wherein the mechanical feeder is configured to secure the value document or security document (110) against removal from the terminal, wherein the method also comprises the following:
    • feeding the value document or security document (110) into the mechanical feeder of the terminal (102) so that the value document or security document (110), after having been fed in, is located fully within the housing of the terminal (102),
    • downloading the second personalisation data (162) to the value document or security document (110) to update the first personalisation data (140) by the second personalisation data (162),
    • ejecting the value document or security document (110) from the mechanical feeder of the terminal (102) once the update is complete.
EP16728664.0A 2015-06-11 2016-06-06 Method for updating personalization data Active EP3308278B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP22160148.7A EP4068103A1 (en) 2015-06-11 2016-06-06 Method for updating personalization data

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
DE102015210719.1A DE102015210719A1 (en) 2015-06-11 2015-06-11 Method for updating personalization data
PCT/EP2016/062771 WO2016198350A1 (en) 2015-06-11 2016-06-06 Method for updating personalization data

Related Child Applications (1)

Application Number Title Priority Date Filing Date
EP22160148.7A Division EP4068103A1 (en) 2015-06-11 2016-06-06 Method for updating personalization data

Publications (2)

Publication Number Publication Date
EP3308278A1 EP3308278A1 (en) 2018-04-18
EP3308278B1 true EP3308278B1 (en) 2022-04-06

Family

ID=56119480

Family Applications (2)

Application Number Title Priority Date Filing Date
EP22160148.7A Pending EP4068103A1 (en) 2015-06-11 2016-06-06 Method for updating personalization data
EP16728664.0A Active EP3308278B1 (en) 2015-06-11 2016-06-06 Method for updating personalization data

Family Applications Before (1)

Application Number Title Priority Date Filing Date
EP22160148.7A Pending EP4068103A1 (en) 2015-06-11 2016-06-06 Method for updating personalization data

Country Status (3)

Country Link
EP (2) EP4068103A1 (en)
DE (1) DE102015210719A1 (en)
WO (1) WO2016198350A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113469677B (en) * 2021-06-11 2024-04-19 深圳市雪球科技有限公司 DESFire card data safety read-write method and device
CN115102737B (en) * 2022-06-15 2024-05-14 交通运输通信信息集团有限公司 ESAM remote issuing method and system for traffic all-purpose card

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040139021A1 (en) * 2002-10-07 2004-07-15 Visa International Service Association Method and system for facilitating data access and management on a secure token
US7878505B2 (en) * 2003-08-19 2011-02-01 Hid Global Corporation Credential substrate rotator and processing module
DE102006006489A1 (en) * 2006-02-10 2007-08-16 Bundesdruckerei Gmbh Method of performing a write access, computer program product, computer system and smart card
DE102006030406A1 (en) * 2006-06-29 2008-01-03 Bundesdruckerei Gmbh Value or security document with at least two display devices
JP5150672B2 (en) * 2010-03-18 2013-02-20 株式会社東芝 Portable electronic device and method for controlling portable electronic device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
None *

Also Published As

Publication number Publication date
DE102015210719A1 (en) 2016-12-15
EP3308278A1 (en) 2018-04-18
DE102015210719A8 (en) 2018-01-11
WO2016198350A1 (en) 2016-12-15
EP4068103A1 (en) 2022-10-05

Similar Documents

Publication Publication Date Title
EP3204850A1 (en) Method for loading executable program instructions into a chip card during active operation
EP2864871B1 (en) Method and device for exchanging the operating system of a resource-limited portable data carrier
EP3308278B1 (en) Method for updating personalization data
EP1196902A1 (en) Method for operating a portable data carrier configured for executing reloadable functional programs
EP2272025A1 (en) System and method for providing user media
EP3754530B1 (en) Method for reloading software on a smart card by means of a post-loader
DE19939280A1 (en) Secure personalization of chip cards
EP3125464B1 (en) Blocking service for a certificate created using an id token
EP3215977A1 (en) Method for altering a data structure stored in a chip card, signature device and electronic system
EP3175383B1 (en) Method for changing the control data of a chip card, and chip card system
DE102014224186B4 (en) Procedure for reloading an application onto a document
EP3232640B1 (en) Validation and disabling of certificates
EP3215957B1 (en) Chip card, chip card system, and method for accessing a chip card
EP3271825B1 (en) Method for storing user data in a document
EP3286687B1 (en) Method for compressing user data of a document
EP3329415B1 (en) Chipcard with a main and a persistent application allows an update of the main application without changes to the user data stored in the persistens application
DE10219731A1 (en) Secure data transaction implementation with a chip card, whereby a partial data transaction is carried out by the chip card using a secure secondary data element prior to linking with transaction data in the main processing unit
EP3323072B1 (en) Method for reading attributes from an id token, id token, attribute-provider computer system, and computer system

Legal Events

Date Code Title Description
STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE INTERNATIONAL PUBLICATION HAS BEEN MADE

PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: REQUEST FOR EXAMINATION WAS MADE

17P Request for examination filed

Effective date: 20180111

AK Designated contracting states

Kind code of ref document: A1

Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR

AX Request for extension of the european patent

Extension state: BA ME

DAV Request for validation of the european patent (deleted)
DAX Request for extension of the european patent (deleted)
STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: EXAMINATION IS IN PROGRESS

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: EXAMINATION IS IN PROGRESS

17Q First examination report despatched

Effective date: 20201117

GRAP Despatch of communication of intention to grant a patent

Free format text: ORIGINAL CODE: EPIDOSNIGR1

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: GRANT OF PATENT IS INTENDED

INTG Intention to grant announced

Effective date: 20211111

GRAS Grant fee paid

Free format text: ORIGINAL CODE: EPIDOSNIGR3

GRAA (expected) grant

Free format text: ORIGINAL CODE: 0009210

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE PATENT HAS BEEN GRANTED

AK Designated contracting states

Kind code of ref document: B1

Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR

REG Reference to a national code

Ref country code: GB

Ref legal event code: FG4D

Free format text: NOT ENGLISH

REG Reference to a national code

Ref country code: CH

Ref legal event code: EP

REG Reference to a national code

Ref country code: AT

Ref legal event code: REF

Ref document number: 1482043

Country of ref document: AT

Kind code of ref document: T

Effective date: 20220415

REG Reference to a national code

Ref country code: DE

Ref legal event code: R096

Ref document number: 502016014732

Country of ref document: DE

REG Reference to a national code

Ref country code: IE

Ref legal event code: FG4D

Free format text: LANGUAGE OF EP DOCUMENT: GERMAN

REG Reference to a national code

Ref country code: LT

Ref legal event code: MG9D

REG Reference to a national code

Ref country code: NL

Ref legal event code: MP

Effective date: 20220406

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: NL

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20220406

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: SE

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20220406

Ref country code: PT

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20220808

Ref country code: NO

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20220706

Ref country code: LT

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20220406

Ref country code: HR

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20220406

Ref country code: GR

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20220707

Ref country code: FI

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20220406

Ref country code: ES

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20220406

Ref country code: BG

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20220706

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: RS

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20220406

Ref country code: PL

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20220406

Ref country code: LV

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20220406

Ref country code: IS

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20220806

REG Reference to a national code

Ref country code: DE

Ref legal event code: R097

Ref document number: 502016014732

Country of ref document: DE

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: SM

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20220406

Ref country code: SK

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20220406

Ref country code: RO

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20220406

Ref country code: MC

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20220406

Ref country code: EE

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20220406

Ref country code: DK

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20220406

Ref country code: CZ

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20220406

REG Reference to a national code

Ref country code: CH

Ref legal event code: PL

PLBE No opposition filed within time limit

Free format text: ORIGINAL CODE: 0009261

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: NO OPPOSITION FILED WITHIN TIME LIMIT

REG Reference to a national code

Ref country code: BE

Ref legal event code: MM

Effective date: 20220630

26N No opposition filed

Effective date: 20230110

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: AL

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20220406

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: LU

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20220606

Ref country code: LI

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20220630

Ref country code: IE

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20220606

Ref country code: CH

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20220630

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: SI

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20220406

Ref country code: BE

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20220630

P01 Opt-out of the competence of the unified patent court (upc) registered

Effective date: 20230526

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: FR

Payment date: 20230619

Year of fee payment: 8

Ref country code: DE

Payment date: 20230620

Year of fee payment: 8

REG Reference to a national code

Ref country code: AT

Ref legal event code: MM01

Ref document number: 1482043

Country of ref document: AT

Kind code of ref document: T

Effective date: 20220606

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: AT

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20220606

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: GB

Payment date: 20230622

Year of fee payment: 8

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: IT

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20220406

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: HU

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT; INVALID AB INITIO

Effective date: 20160606

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: MK

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20220406

Ref country code: CY

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20220406