fromDataItem

Parses a CBOR map DataItem into an MpzPassIsoMdoc instance.

Return

The parsed MpzPassIsoMdoc.

Parameters

dataItem

The CBOR map containing the ISO mDoc representation.

Throws

if the expected fields are missing or incorrectly typed.