TransactionData
An object that holds transaction data.
Transaction data is held in two representation: serialized and parsed. Serialized representation is raw sequence of bytes that reflects how transaction data is encoded in the verification protocol (transaction response includes hash of the serialized representation). Parsed representation includes transaction type that describes what kind of transaction this is, the list of hash algorithms that the verifier accepts for this transaction in the order of preference, and transaction payload which is transaction-type-specific data.
Parameters
type of the transaction data item
serialized representation of the transaction data
accepted hash algorithm override list for this transaction data in the order of preference
transaction payload
Constructors
Functions
Applies transaction in the context of OpenID4VP presentment.
Computes hash of the transaction data.
Creates equivalent transaction data for use in ISO ISO/IEC 18013 protocols.
Determines if this transaction is applicable to the given credential.