//document-manager/eu.europa.ec.eudi.wallet.document.credential/MdocCredentialFactory/createCredentials
[release]
open suspend override fun createCredentials(format: DocumentFormat, document: Document, createDocumentSettings: CreateDocumentSettings, secureArea: SecureArea): Pair<List<MdocCredential>, String?>
Creates mDL credentials for a document based on MSO mDOC format settings.
a list of MdocCredential instances bound to the document
release
| format | the document format, must be an instance of MsoMdocFormat |
| document | the document that will contain the credentials |
| createDocumentSettings | settings for creating the document credentials |
| secureArea | the secure area for storing cryptographic keys |
| IllegalArgumentException | if the provided format is not an instance of MsoMdocFormat |