onResponseReceived

abstract fun onResponseReceived(deviceResponseBytes: ByteArray)

Called when the remote mdoc device sends a response.

The deviceResponseBytes parameter contains the bytes of the DeviceResponse CBOR as specified in ISO/IEC 18013-5 section 8.3 Device Retrieval. The class DeviceResponseParser can be used to parse these bytes.

Parameters

deviceResponseBytes

the device response.