connect

open fun connect(isoDep: IsoDep, validationId: String, can: String)

Starts the Session.

The `can` functions as the AccessKey and is required to access the chip.

Parameters

isoDep

IsoDep of an ICAO-9303 NFC Tag

validationId

Unique String to identify this session.

can

CAN, a 6 digit number, printed on the front of the document.


open fun connect(isoDep: IsoDep, validationId: String, documentNumber: String, dateOfBirth: String, dateOfExpiry: String)

Starts the Session.

The `documentNumber`, `dateOfBirth`, `dateOfExpiry` function as the AccessKey, required to access the chip.

Parameters

isoDep

IsoDep of an ICAO-9303 NFC Tag

validationId

Unique String to identify this session.

documentNumber

Document Number from the MRZ.

dateOfBirth

Date of Birth from the MRZ (Format: yyMMDD)

dateOfExpiry

Date of Expiry from the MRZ (Format: yyMMDD)