commonMain.at.asitplus.wallet.mdl.MobileDrivingLicenceScheme.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mobiledrivinglicence-jvm Show documentation
Show all versions of mobiledrivinglicence-jvm Show documentation
Use data representing Mobile Driving Licences as a ISO 18013-5 Credential
The newest version!
package at.asitplus.wallet.mdl
import at.asitplus.wallet.lib.data.ConstantIndex.CredentialRepresentation
import at.asitplus.wallet.lib.data.ConstantIndex.CredentialRepresentation.ISO_MDOC
import at.asitplus.wallet.lib.data.ConstantIndex.CredentialScheme
/**
* Mobile Driving Licence scheme, according to ISO/IEC 18013-5:2021 standard: Data structure for mDL (7.2.1)
*/
object MobileDrivingLicenceScheme : CredentialScheme {
override val schemaUri: String = "https://wallet.a-sit.at/schemas/1.0.0/MobileDrivingLicence2023.json"
override val isoNamespace: String = "org.iso.18013.5.1"
override val isoDocType: String = "org.iso.18013.5.1.mDL"
override val claimNames: Collection = MobileDrivingLicenceDataElements.ALL_ELEMENTS.toList()
override val supportedRepresentations: Collection = listOf(ISO_MDOC)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy