commonMain.at.asitplus.wallet.cor.CertificateOfResidenceScheme.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of certificateofresidence-jvm Show documentation
Show all versions of certificateofresidence-jvm Show documentation
Use data representing Certificates of Residence as a SD JWT Credential
The newest version!
package at.asitplus.wallet.cor
import at.asitplus.wallet.lib.data.ConstantIndex.CredentialRepresentation
import at.asitplus.wallet.lib.data.ConstantIndex.CredentialRepresentation.SD_JWT
import at.asitplus.wallet.lib.data.ConstantIndex.CredentialScheme
import at.asitplus.wallet.lib.data.SchemaIndex
object CertificateOfResidenceScheme : CredentialScheme {
override val schemaUri: String = "${SchemaIndex.BASE}/schemas/1.0.0/cor.json"
override val sdJwtType: String = "eu.europa.ec.eudi.cor.1"
override val supportedRepresentations: Collection =
listOf(SD_JWT)
}