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 access con<strong>di</strong>tion to satisfy is AC_USE of relevant BSONote:When PSO_DEC is performed with a BSO with Algorithm byte set to 0x0C (RSA_PURE), thecommand doesn’t perform any extra unpad<strong>di</strong>ng operation (pad<strong>di</strong>ng in<strong>di</strong>cator byte is ignored).12.18.2 PSO_ENCCLA INS P1 P2 P3 Data Field LE0X 2A 86h 80hLC = Length of data to beenciphered (plain text)Input data to beencipheredLength of enciphereddataTable 56: PSO_ENC commandThis command enciphers the input data with a key.The enciphered data is returned in the response where the first byte is the used pad<strong>di</strong>ng in<strong>di</strong>cator:00h (pad<strong>di</strong>ng in<strong>di</strong>cator) || The enciphered dataTo use this command is necessary to load in memory a current security environment (CSE) byusing a MSE command. The CSE CON component has to refer to an object of type:• RSA KPRI CRYPT/DECRYPT• 3DES CRYPT/DECRYPTSecurity:The access con<strong>di</strong>tion to satisfy is AC_USE.Note:When PSO_ENC is performed with a BSO with Algorithm byte set to 0x0C (RSA_PURE), thecommand doesn’t perform any extra pad<strong>di</strong>ng operation (pad<strong>di</strong>ng in<strong>di</strong>cator byte is ignored).12.18.3 PSO_CDSCLA INS P1 P2 P3 DataFieldLE0X 2A 9E 9ALC =Length ofdata to besignedInputdatato besignedLength of signeddataTable 57: PSO_CDSCIE - <strong>Functional</strong> <strong>Specification</strong> v <strong>2.0</strong> -Page 69/76

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

Saved successfully!

Ooh no, something went wrong!