MdocReaderNfcHandoverResult
data class MdocReaderNfcHandoverResult(val connectionMethods: List<MdocConnectionMethod>, val encodedDeviceEngagement: ByteString, val handover: DataItem, val type: MdocHandoverType, val eReaderKey: EcPrivateKey? = null, val apduCommandMaxSize: Int = 65535, val apduResponseMaxSize: Int = 65536)
The result of a successful NFC handover operation.
Constructors
Link copied to clipboard
constructor(connectionMethods: List<MdocConnectionMethod>, encodedDeviceEngagement: ByteString, handover: DataItem, type: MdocHandoverType, eReaderKey: EcPrivateKey? = null, apduCommandMaxSize: Int = 65535, apduResponseMaxSize: Int = 65536)
Properties
Link copied to clipboard
the maximum command APDU data length indicated by the mdoc during CCE handover.
Link copied to clipboard
the maximum response APDU data length indicated by the mdoc during CCE handover.
Link copied to clipboard
the possible connection methods for the mdoc reader to connect to (empty for NFC-only CCE).
Link copied to clipboard
the bytes of DeviceEngagement.
Link copied to clipboard
the ephemeral reader private key generated/used during CCE handover, or null for NDEF handovers.
Link copied to clipboard
the type of NFC handover which occurred.