Dg11View

EF.DG11: additional personal details (ICAO Doc 9303 Part 10, section 4.7.11).

Every text field is the chip's value read as UTF-8 and left as it is: names keep their < fillers, nothing is trimmed or folded. An element the chip does not hold is null. The raw file bytes and every data object's raw value stay available through raw, elements and element; images (the proof of citizenship) are only available as raw bytes.

toString() never shows file content.

Experimental: see ExperimentalTesseraChipApi.

Since

1.0.0

Types

Link copied to clipboard
object Companion

Reads EF.DG11.

Properties

Link copied to clipboard

Permanent address (5F42), or null.

Link copied to clipboard

Custody information (5F18), or null.

Link copied to clipboard

Full date of birth (5F2B, 8 ASCII digits or 4 bytes of BCD), or null when absent or not a date. Unknown parts are null inside the date.

Link copied to clipboard

All data objects of the file, in file order, with their raw values.

Link copied to clipboard

Full name of the holder (5F0E), or null.

Link copied to clipboard

Other names (5F0F), in file order, from the content-specific template (A0) or directly in the file.

Link copied to clipboard

Other valid travel document numbers (5F17), or null.

Link copied to clipboard

Personal number (5F10), or null.

Link copied to clipboard

Personal summary (5F15), or null.

Link copied to clipboard

Place of birth (5F11), or null.

Link copied to clipboard

Profession (5F13), or null.

Link copied to clipboard

The tags in the chip's tag list (5C), in list order, or empty when the chip has none.

Link copied to clipboard

Telephone (5F12), or null.

Link copied to clipboard

Title (5F14), or null.

Functions

Link copied to clipboard

The first top-level data object with tag, or null.

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.