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...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

n has to be <strong>di</strong>fferent from FFh.P1=00:• P2=00h: read first: read the record number 1: set the record pointer to 1• P2=01h: read last: read the record with the highest record number; set the record pointer tothe maximum• P2=02h: read next: read the record whose record number is one more than the current oneand set it as the current selected record• P2=03h: read previous: read the record whose record number is one less than the current oneand set it as the current selected recordAccess by tag (P1!=00 and P2 !=04)This access method is only possible for linear TLV record EF. The Access by tag is deprecated forbackward compatibility reasons.• P2=00h: read first occurrence - read the record with the tag given in P1 with the smallestrecord number; set the record pointer the found record (if any)• P2=01h: read last occurrence - read the record with the tag given in P1 with the highestrecord number; set the record pointer to the found record (if any)• P2=02h: read next occurrence - read the record with the tag given in P1 searching the filefrom the current record in the <strong>di</strong>rection of increasing record numbers; set the record pointerto the record found (if any)• P2=03h: read previous occurrence - read the record with the tag given in P1 searching thefile from the current record in the <strong>di</strong>rection of decreasing record numbers; set the recordpointer to the found record (if any)If the current record is not defined (EF just selected), then there is equivalence between the modes:First and NextLast and PreviousSecurity:The command can be performed only if the access con<strong>di</strong>tion for the READ function of the EF issatisfied.Note:If SM con<strong>di</strong>tion ENC_READ_IN is specified on the file to be read, then the data to be encryptedare just the 8 pad<strong>di</strong>ng bytes (80 00 00 00 00 00 00 00 00).CIE - <strong>Functional</strong> <strong>Specification</strong> v <strong>2.0</strong> -Page 57/76

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

Saved successfully!

Ooh no, something went wrong!