MrtdNfcChipAccess

class MrtdNfcChipAccess(shouldCheckMac: Boolean)

Implements Chip Access Procedure (see ICAO 9303 part 11, Section 4.2), establishing encrypted connection to the chip. Emits MrtdNfc.Status as the reading progresses.

Constructors

Link copied to clipboard
constructor(shouldCheckMac: Boolean)

Functions

Link copied to clipboard
fun open(cardService: CardService, accessData: MrtdAccessData, onStatus: (MrtdNfc.Status) -> Unit): PassportService

Opens NFC stream for reading, executing some kind of access control protocol.