ChipFile

One file as the chip sent it.

Experimental: see ExperimentalTesseraChipApi.

Since

1.0.0

Properties

Link copied to clipboard

Which attempt of the read received the file's last byte, from 1. Earlier than the read's last attempt only for a data group kept by LinkLossPolicy.Resume.

Link copied to clipboard

For a data group that a lost link cut off and LinkLossPolicy.Resume continued in attempt, the byte offset where it continued (the bytes before it came from the attempt before); also for one the read continued on a fresh connection to the document after a planned handover on iPhone (CoreNfcReadSettings.tagTimeLimitMillis), within the same attempt; null for a file read whole on one connection.

Link copied to clipboard

The data group number (1 to 16) for a data group of the application, else null.

Link copied to clipboard
val fileId: Int

The two-byte file identifier: 0x011C EF.CardAccess, 0x011D EF.CardSecurity in the master file or EF.SOD in the application, 0x011E EF.COM, 0x0101 to 0x0110 DG1 to DG16.

Link copied to clipboard

true for a file of the master file (EF.CardAccess, EF.CardSecurity, EF.ATR/INFO), false for a file of the eMRTD application.

Link copied to clipboard
val size: Int

The number of bytes.

Functions

Link copied to clipboard

A copy of the bytes as the chip sent them.

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

The file identifier and size, never content.