Builder

Builds ChipReadOptions step by step, with the constructor's defaults.

Since

1.0.0

Parameters

accessKey

The key that opens the chip.

Constructors

Link copied to clipboard
constructor(accessKey: ChipAccessKey)

Functions

Link copied to clipboard

Whether an MRZ key whose check digits do not match their fields may be used.

Link copied to clipboard

Whether extended-length APDUs may be used.

Link copied to clipboard

The options.

Link copied to clipboard

The time at which validity is checked and DG1's dates are read.

Link copied to clipboard

The data groups to read, by number (1 to 16), from any collection: a list, a range, a set. Repeats count once. An empty selection makes build throw. In Swift: dataGroups(numbers: [1, 2, 11]).

fun dataGroups(@ObjCName(name = "numberArray") vararg numbers: Int): ChipReadOptions.Builder

The data groups to read, by number (1 to 16): dataGroups(1, 2, 11). In Swift, where a Kotlin vararg is an array object, use dataGroups(numbers:) with an array instead; this form is dataGroups(numberArray:) there.

Link copied to clipboard

The MRZ your app read from the printed page, to have the result compare it with the chip's DG1 (ChipReadOptions.printedDocument); null for no comparison.

Link copied to clipboard

A document signer certificate for a chip whose EF.SOD carries none.

Link copied to clipboard

The root certificates for the signer checks.