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.
Functions
Link copied to clipboard
Collects all the data gathered by communicating through the tunnel as EvidenceResponse object and completes the tunnel.
Link copied to clipboard
abstract suspend fun handleNfcTunnelResponse(evidence: EvidenceResponseIcaoNfcTunnel): EvidenceRequestIcaoNfcTunnel?
Handle the response from the chip and produce the next command.