toDataItem

Generates CBOR compliant with the CDDL for DeviceEngagement according to ISO 18013-5.

Return

a DataItem.