MrtdNfcTunnel

interface MrtdNfcTunnel

Drives the exchange with the chip in MRTD through NFC tunnel, sending commands to the chip and processing the responses.

This object is stateful with the state identified by the token. In other words, using the same token from any thread/process/node should create functionally identical object.

Properties

Link copied to clipboard
abstract val token: String

Functions

Link copied to clipboard
abstract fun complete(): EvidenceResponse

Collects all the data gathered by communicating through the tunnel as EvidenceResponse object and completes the tunnel.

Link copied to clipboard

Handle the response from the chip and produce the next command.