TransactionType

constructor(displayName: String, identifier: String, kbJwtResponseClaimName: String = identifier, iso18013RequestInfoIdentifier: String = identifier, openId4VpMdocResponseNamespace: String = identifier)

Parameters

PayloadT

type of the transaction-specific payload data.

displayName

human-readable transaction name.

identifier

unique transaction type identifier, corresponds to the type property in transaction data in OpenID4VP; all TransactionType objects must have distinct identifiers.

kbJwtResponseClaimName

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.

iso18013RequestInfoIdentifier

transaction type to use in transactionData map in requestInfo map in ISO/IEC 18013-5 document request to represent this transaction data; all TransactionType objects must have distinct values.

openId4VpMdocResponseNamespace

namespace to use in deviceSigned namespace map in OpenID4VP response; defaults to identifier.