TransactionData
class TransactionData(val hash: ByteString, val hashAlgorithm: Algorithm?, val type: String, val data: JsonObject)
An object that describes transaction data item in the context of OpenID4VP.
TODO: perhaps we need to make this a base sealed class and have one variant for JSON-based workflows and another for CBOR ones?
Parameters
hash
hash of encoded transaction data item, calculated using hashAlgorithm or SHA256 if not explicitly specified
hashAlgorithm
algorithm, only if it was explicitly specified in transaction data
type
type of the transaction data item
data
JSON object that represents the transaction data item