ChipFileNotFound

data class ChipFileNotFound(val fileId: Int, val listedByChip: Boolean) : ChipError

Content error: a file the reader asked for is not on the chip (status 6A82), or the chip's own lists (EF.COM, EF.SOD) do not name it, so it was not asked for.

Experimental: see ExperimentalTesseraChipApi.

Since

1.0.0

Constructors

Link copied to clipboard
constructor(fileId: Int, listedByChip: Boolean)

Properties

Link copied to clipboard
open override val code: String

A stable name of this error: see ChipError.code.

Link copied to clipboard
open override val description: String

English text for logs: the file identifier.

Link copied to clipboard
val fileId: Int

The two-byte file identifier (for example 0x0102 for EF.DG2).

Link copied to clipboard

true when the chip's EF.COM or EF.SOD lists the file, or the reader had no list, and the chip answered "file not found"; false when the lists do not name the file and nothing was sent for it.

Link copied to clipboard
open val statusWord: Int?

The status word the chip answered with, when this error carries one (for example 0x6300 for a refused key), otherwise null. The same value as the statusWord of the subtypes that have one, so an app reads it without a cast.

Functions

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

ChipFileNotFound: followed by description.