toDataItem

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

Return

a DataItem.