ChipCheck

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

Every check is a calculation anyone can repeat with the same bytes, such as "the hash of DG1 equals the one the security object stores" or "the signature verifies under the signer certificate". No check, and no combination of them, says that the chip or the document is genuine: deciding what is enough stays with your app (ICAO Doc 9303 Part 11, section 2).

The MRZ validator reports its checks with the same CheckOutcome, so MRZ and chip results read alike.

Experimental: see ExperimentalTesseraChipApi.

Since

1.0.0

Properties

Link copied to clipboard

How the check reached its outcome, for the checks that record it: where the signer certificate came from, how the root's name matched, where the countries were read from. null for the others.

Link copied to clipboard

What was checked.

Link copied to clipboard

How it came out.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Equal when the kind, the outcome and the detail are equal.

Link copied to clipboard
open override fun hashCode(): Int

Hash of the kind, the outcome and the detail.

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

ChipCheck(kind, outcome), with the detail when there is one.