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.
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.
Constructors
Properties
Functions
Applies transaction in the context of ISO/IEC 18013-5:2021 presentment.
Applies transaction in the context of OpenID4VP presentment.
Determines if this transaction is applicable to the given credential.
Parses transaction data serialized for use in ISO/IEC 18013 protocols.
Parses transaction data serialized for use in OpenID4VP protocol.
Serializes transaction data for use in ISO/IEC 18013 protocols.