generateMdocResponseElements
suspend fun generateMdocResponseElements(credential: Credential, userInput: TransactionUserInput?, docRequestId: Int? = null): Map<String, DataItem>
Generates device-signed data elements for an Mdoc credential.
Return
map of data elements for DeviceSigned.nameSpaces under ISO_18013_TRANSACTION_DATA_NAMESPACE
Parameters
credential
credential being presented
userInput
additional data specified by the user
docRequestId
document request index in ISO 18013-5 presentment, null for OpenID4VP