Dg1View

EF.DG1: the MRZ as the chip stores it (ICAO Doc 9303 Part 10, section 4.7.1), read with the same MrzParser as a printed MRZ.

The result is a ParseResult.Success or ParseResult.PartialSuccess whose metadata.readMethod is ReadMethod.NFC_CHIP. Check digit findings and warnings are reported as for any MRZ; nothing is corrected. The MRZ text (without line breaks) and the raw file bytes stay available through mrzText and raw.

toString() never shows file content.

Experimental: see ExperimentalTesseraChipApi.

Since

1.0.0

Types

Link copied to clipboard
object Companion

Reads EF.DG1.

Properties

Link copied to clipboard

The parsed MRZ document.

Link copied to clipboard

The MRZ characters exactly as the chip holds them, with no line breaks: 90 for TD1, 72 for TD2, 88 for TD3.

Link copied to clipboard

The parser's result for the chip's MRZ: ParseResult.Success or ParseResult.PartialSuccess, with the reading method set to ReadMethod.NFC_CHIP.

Functions

Link copied to clipboard
fun raw(): ByteArray

A copy of the whole file as read from the chip.

Link copied to clipboard
open override fun toString(): String

The file's size; never its content.