processTransactions

suspend fun processTransactions(credential: SdJwtVcCredential, transactionData: List<TransactionData>, docRequestId: Int? = null): Map<String, JsonElement>

Processes transaction data for the given SD-JWT credential.

Return

additional attributes to add to the SD-JWT+KB body

Parameters

credential

credential which transactions are targeting, must be key-bound if any transactions are present (i.e. transactionData is not empty)

transactionData

transaction data for the credential

docRequestId

index of the specific document request in the context of ISO 18013 presentation