parseJson
Parses transaction data serialized for use in OpenID4VP protocol.
The payload comes from parseOpenId4VpRequest. The hash algorithms the verifier accepts come from transaction_data_hashes_alg, so a type that does not override this function still hashes its transaction data with the algorithm the verifier asked for.
If transaction_data_hashes_alg is absent or null, TransactionData.hashAlgorithms is left null and the default algorithm applies.
Return
transaction data wrapping the parsed payload.
Parameters
serialized
the base64url-encoded JSON transaction data item.
Throws
if transaction_data_hashes_alg is present but not an array of strings, or names no known hash algorithm.