fromDataItem

Parses a PublicKey from a CBOR DataItem encoding a COSE_Key.

Return

the parsed PublicKey.

Parameters

dataItem

the DataItem encoding the key.