TransactionType
An object that represents a particular transaction data type.
All transaction types that are expected to be processed or rejected must be registered in a DocumentTypeRepository object. In OpenID4VP unregistered transaction types cause the whole request to be rejected. In ISO/IEC 18013-5:2021, unknown transaction types are not processed, which may or may not fail at verification time.
Parameters
human-readable transaction name
unique transaction type identifier, corresponds to the type property in transaction data in OpenID4VP; all TransactionType objects must have distinct identifiers.
describes attributes that this transaction type can/must contain
if transaction processing results in any data, it will be inserted in key binding JWT using this claim name; all TransactionType objects must have distinct values.
key to use in requestInfo map in ISO/IEC 18013-5:2021 document request to represent this transaction data; all TransactionType objects must have distinct values.
namespace to use in deviceSigned namespace map in ISO/IEC 18013-5:2021 response to represent transaction hash and transaction processing results; all TransactionType objects must have distinct values.
Properties
Functions
Applies transaction in the context of ISO ISO/IEC 18013-5:2021 presentment.
Applies transaction in the context of OpenID4VP presentment.
Builds CannedTransactionData for this request type.
Determines if this transaction is applicable to the given credential.