EfComView

EF.COM: the header file of the chip's LDS (ICAO Doc 9303 Part 10, section 4.6.1). It holds the LDS version, the Unicode version and the list of data groups the chip says it has.

This is the chip's own claim and is not signed. Part 10 recommends that inspection systems use the security object (EF.SOD) instead of EF.COM, so do not trust dataGroups over it.

The raw file bytes stay available through raw. toString() never shows file content.

Experimental: see ExperimentalTesseraChipApi.

Since

1.0.0

Types

Link copied to clipboard
object Companion

Reads EF.COM.

Properties

Link copied to clipboard

The data group numbers (1 to 16) the tag list names, in list order. Tags that are not a data group tag are left out here and stay in tagList.

Link copied to clipboard

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

Link copied to clipboard

The LDS version as the four ASCII digits the chip holds (for example the text 0107), or null when the element is absent or is not four ASCII digits.

Link copied to clipboard

The tags in the chip's tag list, in the order it lists them (for example 0x61).

Link copied to clipboard

The Unicode version as the six ASCII digits the chip holds, or null when the element is absent or is not six ASCII digits.

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 identifier and size; never its content.