ANNEX I CRequirements for construction, testing, installation, and inspection

Appendix 7

DATA DOWNLOADING PROTOCOLS

3.TACHOGRAPH CARDS DOWNLOADING PROTOCOL

3.4.Data storage format

3.4.1Introduction

DDP_040The downloaded data has to be stored according to the following conditions:

  • The data shall be stored transparent. This means that the order of the bytes as well as the order of the bits inside the byte that are transferred from the card has to be preserved during storage.

  • All files of the card downloaded within a download session are stored in one file on the ESM.

3.4.2File format

DDP_041

The file format is a concatenation of several TLV objects.

DDP_042

The tag for an EF shall be the FID plus the appendix „00“.

DDP_043

The tag of an EF's signature shall be the FID of the file plus the appendix „01“.

DDP_044

The length is a two byte value. The value defines the number of bytes in the value field. The value „FF FF“ in the length field is reserved for future use.

DDP_045

When a file is not downloaded nothing related to the file shall be stored (no tag and no zero length).

F1DDP_046A signature shall be stored as the next TLV object directly after the TLV object that contains the data of the file.

Definition

Meaning

Length

FID (2 Bytes) || 00

Tag for EF (FID) in the Image_r00568 or for common information of the card

3 Bytes

FID (2 Bytes) || 01

Tag for Signature of EF (FID) in the Image_r00569 DF

3 Bytes

FID (2 Bytes) || 02

Tag for EF (FID) in the Image_r00570 DF

3 Bytes

FID (2 Bytes) || 03

Tag for Signature of EF (FID) in the Image_r00571 DF

3 Bytes

xx xx

Length of Value field

2 Bytes

Example of data in a download file on an ESM:

Tag

Length

Value

Image_r00572

Image_r00573

Data of EF ICC

Image_r00574

Image_r00575

Data of EF Card_Certificate

Image_r00576

Image_r00577

Data of EF Image_r00578 (in the Image_r00579 DF)

Image_r00580

Image_r00581

Signature of EF Image_r00582 (in the Image_r00583 DF)

Image_r00584

Image_r00585

Data of EF Image_r00586 in the Image_r00587 DF

Image_r00588

Image_r00589

Signature of EF Image_r00590 in the Image_r00591 DF