eid_icao 0.1.2
eid_icao: ^0.1.2 copied to clipboard
Reads ICAO 9303 passports and identity cards over any eid transport: BAC and PACE, MRZ, face image and data groups, with Passive, Chip and Active Authentication.
0.1.2 #
package:eid_icao/mrz_scanner.dartreads the machine readable zone in the frames of a camera or in a photo, in pure Dart, for the BAC and PACE key:MrzScannergives the zone once two frames agree,MrzRecognizerreads one image,MrzImagetakes a luminance plane as a camera gives it, or RGBA and BGRA pixels. TD1, TD2 and TD3, slanted, turned a little or upside down. Nothing changes for an application that does not import it.
0.1.1 #
SimulatedIcaoChip(tamperedGroup: IcaoDataGroup.dg1)rewrites a letter of the name, so that the read is turned down for its signature (IcaoRejection.signature) instead of failing on an MRZ that does not parse.
0.1.0 #
- First release: reads ICAO 9303 passports and identity cards over any
eidtransport. - Access with BAC or PACE (Generic Mapping and Chip Authentication Mapping, ECDH and DH), from the MRZ or the CAN; secure messaging in 3DES and AES.
- Decodes DG1 (MRZ, TD1, TD2 and TD3), DG2 (ISO/IEC 19794-5 and 39794-5), DG7, DG11, DG12 and DG16; keeps every data group read as it was read.
IcaoDocument.photoandIcaoImage.displayBytes: the images as JPEG or PNG, ready to show. JPEG 2000 is decoded in pure Dart (ITU-T T.800 part- and converted to PNG without loss.
- Passive Authentication up to the CSCAs of a master list
(
IcaoMasterList: CMS, ICAO PKD LDIF, PEM, DER), RSA PKCS #1, RSA-PSS and ECDSA, named or explicit curves. - Chip Authentication, Chip Authentication Mapping and Active Authentication (RSA ISO 9796-2, ECDSA).
IcaoWatcherreads each document put on the reader, asking for its key.- Options:
parts,acceptExpired,acceptedTypes,verifySignatures,trustedRoots,verifyCard,showPrivateData,onApdu,onProgress. showPrivateDatais off by default: the personal numbers of the MRZ and DG11, such as the Belgian national register number, are left out.toJsonandfromJson, andIcaoPassiveAuthenticatorto check again on a server.- Error messages in French, Dutch, German and English.
SimulatedIcaoChipstands in for a document and a reader;specimenPhotoJpeg2000gives it a JPEG 2000 face.
