Nfc

data class Nfc(val commandDataFieldMaxLength: Long, val responseDataFieldMaxLength: Long) : MdocConnectionMethod

Near Field Communication (NFC) data retrieval connection method according to ISO/IEC 18013-5.

Constructors

Link copied to clipboard
constructor(commandDataFieldMaxLength: Long, responseDataFieldMaxLength: Long)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

the maximum length for the command data field.

Link copied to clipboard

the maximum length of the response data field.

Functions

Link copied to clipboard
fun toDeviceEngagement(engagementType: MdocEngagementType = MdocEngagementType.DEVICE_QR): ByteArray

Encodes this single connection method as DeviceRetrievalMethod CBOR.

Link copied to clipboard
open override fun toString(): String