Companion

object Companion

Functions

Link copied to clipboard

Converts the list of transaction data in JSON format that all reference a particular credential to the map that is appropriate to pass as DocRequestInfo.otherInfo property when building the request.

Link copied to clipboard
fun parse(base64UrlEncodedJson: List<String>, documentTypeRepository: DocumentTypeRepository): Map<String, List<TransactionDataJson>>
fun parse(transactionData: JsonElement, documentTypeRepository: DocumentTypeRepository): Map<String, List<TransactionDataJson>>

Parses OpenID4VP JSON-encoded transaction data.