09.08.2015 Views

C.I.E – Carta di Identità Elettronica Functional Specification Version 2.0

CIE - Functional Specification v 2.0

CIE - Functional Specification v 2.0

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The PUT DATA - DATA_OCI acts on the current DF. Two cases are possible:• Create BSO - The current DF doesn’t contain a BSO with ID equal to OCI1. In this case anew BSO is created in the DF.• Update BSO - The current DF does contain a BSO with ID equal to OCI1. In this case allfields in the existing BSO are updated with the information passed in the command. InUpdate mode, the last field (BSO value) can be absent, so that the value is not changed. Theuse of this command is deprecated to update fields <strong>di</strong>fferent from AC (OCI3) and SM(OCI4) and when the new con<strong>di</strong>tion is less restrictive than the old one, i.e. to change anaccess con<strong>di</strong>tion from Never to Always.Security:The access con<strong>di</strong>tion to satisfy is the AC_APPEND of the current DF for the Create BSO case andthe AC_UPDATE of the current DF for the case update BSO:OCI1 OCI2 OCI3 OCI4 OCI5Mandatory Mandatory Mandatory Optional Mandatory(Creation mode)T L V T L V T L V T L V T L VTable 22: Data OCI templateOCI Nr. T L V Description1 83h 2 BSO Address BSO CLA (See Table24) || BSO ID2 85h 8 BYTE 1: OPTIONS See Table11BYTE 2: FLAGSBYTE 3: ALGORITHMBYTE 4: ERROR COUNTBYTE 5: USE COUNTSee Table9 for descriptionSee Table12See Table9 for descriptionSet to FFh (means unlimited use)BYTE 6: FFhBYTE 7: VALIDITY COUNTERBYTE 8: MINIMUM LENGTHSee Table9 for descriptionSee Table9 for description3 86h 7 AC bytes Bytes used for AC (See Table13)4 CBh 16 SM bytes Bytes used for SM (See Table 17)5 8Fh N N bytes Value of the security object (PIN, Key,CIE - <strong>Functional</strong> <strong>Specification</strong> v <strong>2.0</strong> -Page 47/76

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!