toCredentialSelection

Calculates a CredentialSelection from a list of selections.

Return

a CredentialSelection.

Parameters

selections

the solution selected for each use-case or -1 if not selecting an optional use-case.

transactionUserInput

additional user input for transactions, indexed by credential match and transaction type identifier.