ChipCheckDetail

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.

May gain members in a later release: an exhaustive when over it then stops compiling until the new member is handled. An else branch keeps it compiling without handling the new member: that is your choice, and today the compiler warns that such an else is redundant.

Experimental: see ExperimentalTesseraChipApi.

Since

1.0.0

Inheritors

Types

Link copied to clipboard
data class CountrySources(val signer: ChipCountrySource?, val root: ChipCountrySource?) : ChipCheckDetail

For ChipCheckKind.SignerCountryMatchesRootCountry: where each country was read from, or null on a side with no country.

Link copied to clipboard

For ChipCheckKind.SignerChainsToSuppliedRoot: how the signer's issuer name matched the root's subject name.

Link copied to clipboard
data class PrintedMrzFields(val sameFormat: Boolean, val fields: Map<MrzField, ChipFieldMatch>) : ChipCheckDetail

For ChipCheckKind.Dg1MatchesPrintedMrz: for each MRZ field, whether the chip's DG1 shows the same characters as the printed MRZ your app gave (ChipReadOptions.printedDocument). It holds no value from either MRZ.

Link copied to clipboard

For ChipCheckKind.SignatureVerifies: where the signer certificate came from.