Closed alranel closed 6 years ago
Nota da @fottavi:
Le specifiche IAS richiedono il supporto delle APDU a chunk. L'implementazione attualmente in uso per le CIE supporta anche le APDU estese. Il middleware invia solo APDU a chunk per facilitare il riuso su Android su cui le APDU estese danno problemi.
Each card has an unique number (NIS) which can be read easily, without the need for the more complex middleware and also without entering the card PIN. It would be very useful to provide a minimal and portable (?) SDK for reading such code using low-level commands. The SDK could be easily embedded in applications and devices.
The NIS code can be mapped to the person's Codice Fiscale just by querying a web service operated by the Government (not available yet). Such feature allows third parties to use CIE cards for access turnstiles (offices, gyms, etc.) because users can be mapped to a local database using the Codice Fiscale.
Example code for this task is available: https://github.com/italia/cie-middleware/blob/master/EsempioPCSC/EsempioPCSC.cpp We basically need to turn it into a library.
Useful resources: