Package-level declarations

Types

Link copied to clipboard

How the reader got access to the chip, and what the chip offered.

Link copied to clipboard

Sends command bytes to a chip and returns its answer: the one seam between the shared chip code and a platform's NFC reader.

Link copied to clipboard

Thrown by an ApduTransport when it cannot send a command to the chip or get its answer.

Link copied to clipboard

Why no CAN key could be made (CanKeyResult.NotBuilt). Each value is a fact about the input, never a verdict on a document.

Link copied to clipboard

What ChipAccessKey.Can.from gives back: the key, or the fact that no key could be made, and why. It has the same shape as MrzKeyResult, so an app handles both kinds of key the same way: show the problem to the person, or take the key.

Link copied to clipboard

What opens a document's chip: values from its MRZ, or its card access number (CAN).

Link copied to clipboard

A check with the chip's own key (ICAO Doc 9303 Part 11, sections 6.1 and 6.2).

Link copied to clipboard

One fact from reading a chip: what was checked, and how it came out.

Link copied to clipboard

How a ChipCheck reached its outcome: facts about the inputs, kept beside the check so that the kind stays the same whichever way the check went.

Link copied to clipboard
Link copied to clipboard

Why a check came out CheckOutcome.Failed, CheckOutcome.NotApplicable or CheckOutcome.NotRun. Each value is a fact about the inputs, never a verdict on the document. With ChipCheckReason.KEY_FILE_CHECKS_NOT_PASSED the chip's part held but the file that holds its key has not passed its own checks, so the fact is incomplete, never a pass.

Link copied to clipboard

The kind of a command for its time limit, which a platform entry point maps to its settings: see the useTimeLimit hook of ChipReadCoordinator.read.

Link copied to clipboard

Where a certificate's country was read from.

Link copied to clipboard

How one MRZ field compares between the chip's DG1 and the printed MRZ. A fact about the characters, never a verdict on the document.

Link copied to clipboard

One file as the chip sent it.

Link copied to clipboard

Where on the chip chip authentication ran (Part 11, section 6.2).

Link copied to clipboard

A file that was asked for and could not be read or parsed, and why.

Link copied to clipboard

A file on the chip, by its identifiers only.

Link copied to clipboard

Puts a printed MRZ (read by the camera or typed in) beside the chip's DG1.

Link copied to clipboard

How two certificate names were found equal.

Link copied to clipboard

The three PACE mappings (Part 11, section 4.4.3.3).

Link copied to clipboard

One PACE suite EF.CardAccess lists.

Link copied to clipboard

The kind of key that opened the chip.

Link copied to clipboard

Everything one chip read produced: how access went, the raw files, the parsed views beside them, the per-file problems and the checks.

Link copied to clipboard

The platform-neutral part of one chip read through a platform entry point: the states, the one ending, the attempts, the decision to start again after a lost link, and the progress. The Android and iOS entry points feed it platform events and run each attempt on their transport; everything they report to the app goes through it, so both platforms behave the same.

Link copied to clipboard

How a chip read through a platform entry point ended. Every read has exactly one ending.

Link copied to clipboard

Reads a document's chip in one call: opens it, reads the files your app asks for, runs the checks and returns the facts.

Link copied to clipboard

Telemetry emitted once per step of a chip read, with no document data.

Link copied to clipboard

A telemetry sink for chip reads that hands you ChipReadEvent directly, with no cast from the general TelemetryEvent. It is a TelemetrySink, so it goes wherever one goes: the telemetry of the Android and iPhone read settings, ChipReader, TelemetrySinkRegistry.

Link copied to clipboard

A chip read in progress, as the app sees it: it can be cancelled, and it says whether it ended. The platform entry points hand one back when they start a read (Android NfcChipRead, iOS CoreNfcChipRead).

Link copied to clipboard

Receives a chip read's updates and its one ending.

Link copied to clipboard
class ChipReadOptions @JvmOverloads constructor(val accessKey: ChipAccessKey, val dataGroups: Set<Int> = setOf(1, 2), val trustAnchors: List<TrustAnchor> = emptyList(), val checkTime: Instant? = null, val allowExtendedLength: Boolean = true, val signerCertificate: DocumentSignerCertificate? = null, val allowCheckDigitMismatch: Boolean = false, val printedDocument: MrzDocument? = null)

What ChipReader.read should do.

Link copied to clipboard

How far a chip read got: an estimate of the work done that never goes back, and exact counts.

Link copied to clipboard

Whether a new chip read started now is expected to be accepted at once: for an app that enables its "read the chip" button only when a read can begin. The same shape on both platforms: on iPhone, ask CoreNfcChipRead.readiness() and register a listener with CoreNfcChipRead.addReadinessListener; on Android, NfcChipRead.readiness(context) and NfcChipRead.addReadinessListener(context, listener). Android has no wait between reads, so it never reports NotYet; its listener also hears NFC switched on and off. iPhone has no signal for that, so there a radio switched off shows only when a read starts.

Link copied to clipboard

Hears when a platform read's ChipReadReadiness changes: from one kind to another (for example from ChipReadReadiness.ReadInProgress to ChipReadReadiness.NotYet, then to ChipReadReadiness.Ready, or from ChipReadReadiness.Ready to ChipReadReadiness.Unavailable when NFC is switched off on Android), never twice in a row with the same kind; two ChipReadReadiness.Unavailable values with different reasons count as different. Called on the main thread, one call at a time, in order. Not called at registration: register, then ask readiness() for the value now. An exception it throws is ignored.

Link copied to clipboard

A registered ChipReadReadinessListener: remove it when the screen goes away. A listener the SDK holds keeps what it refers to alive until it is removed.

Link copied to clipboard
Link copied to clipboard

Where a chip read is.

Link copied to clipboard

The steps of a chip read, for telemetry.

Link copied to clipboard
Link copied to clipboard

One update of a chip read: its state, its progress, and which attempt it is.

Link copied to clipboard

Receives a chip read's updates, with no ending: what the low-level ChipReader.read calls, where the result it returns is the ending. A ChipReadObserver is one too.

Link copied to clipboard

What a read did with the files of earlier attempts after a lost link (LinkLossPolicy.Resume), or with the files of the same attempt after a planned handover to a fresh connection on iPhone (CoreNfcReadSettings.tagTimeLimitMillis), which follows the same rule.

Link copied to clipboard

Where a signed copy of EF.CardAccess's entries was read from (Part 11, section 9.2.11).

Link copied to clipboard

Which signed chip file a signer check is about.

Link copied to clipboard

Where a signer certificate came from.

Link copied to clipboard

Which file a chip has selected when a read starts, as an ApduTransport reports it in ApduTransport.startSelection.

Link copied to clipboard

The chip's DG1 combined with a printed MRZ (ChipMrzComparison.combine).

Link copied to clipboard

Gives every call of a ChipReadObserver to a thread of the platform's choice, in order, for the platform read entry points (ObserverThread.MAIN): each call is handed to post, one after the other, and post must run what it gets first in, first out on the one thread.

Link copied to clipboard
@RequiresOptIn(level = RequiresOptIn.Level.ERROR, message = "Internal Tessera chip API, shared between Tessera's own modules. It can change or go away in any release.")
annotation class InternalTesseraChipApi

Marks a chip-reading declaration that is public only so Tessera's own NFC modules can share it (the read coordinator that the Android and iOS entry points drive). It is not part of Tessera's API: it can change or go away in any release, without notice and without a deprecation cycle.

Link copied to clipboard

What a read does when the link to the chip is lost: usually the document moved away from the phone. The platform read settings (Android NfcReadSettings, iOS CoreNfcReadSettings) default to Resume with 2 restarts; pass another policy there to change it.

Link copied to clipboard

Whether one MRZ field shows the same characters on the chip and in print.

Link copied to clipboard

Why no MRZ key could be made (MrzKeyResult.NotBuilt). Each value is a fact about the input, never a verdict on a document.

Link copied to clipboard

What ChipAccessKey.Mrz.from and ChipAccessKey.Mrz.fromTypedFields give back: the key, or the fact that no key could be made, and why.

Link copied to clipboard

The three values a person typed, cleaned up by ChipAccessKey.Mrz.normalizeTypedFields, and the fields that cleaning changed.

Link copied to clipboard

Which thread a platform chip read calls its ChipReadObserver on. The same choice, with the same default, in the Android and the iPhone read settings (NfcReadSettings.observerOn and CoreNfcReadSettings.observerOn).