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. 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, and transaction payload which is transaction-type-specific data.
Parameters
type of the transaction data item
transaction payload
protocol context in which the transaction data was received
raw sequence of bytes representing the transaction data in the request
accepted hash algorithm override list for this transaction data
Constructors
Functions
Computes hash of the transaction data.
Generates device-signed data elements for an Mdoc credential.
Generates Key Binding JWT claims for an SD-JWT credential.
Determines if this transaction is applicable to the given credential.
Creates equivalent transaction data for use in ISO 18013-5 protocols.
Verifies transaction response returned in an Mdoc presentation.
Verifies transaction response returned in an SD-JWT presentation.