MobileCredential

@Serializable
data class MobileCredential(val id: String, val deviceKeyId: String, val verificationResult: MobileCredentialVerificationResult? = null, val issuerInfo: IssuerInfo, val docType: String, val validityInfo: MobileCredentialValidity, val statusInfo: StatusInfo, val claims: Map<String, Map<String, MobileCredentialElement>>, val branding: Branding? = null)

Represents an issued mobile credential.

Return

A new instance of MobileCredential.

Constructors

Link copied to clipboard
constructor(id: String, deviceKeyId: String, verificationResult: MobileCredentialVerificationResult? = null, issuerInfo: IssuerInfo, docType: String, validityInfo: MobileCredentialValidity, statusInfo: StatusInfo, claims: Map<String, Map<String, MobileCredentialElement>>, branding: Branding? = null)

Properties

Link copied to clipboard
val branding: Branding? = null

Optional branding information for the mobile credential.

Link copied to clipboard
val claims: Map<String, Map<String, MobileCredentialElement>>

A map containing the credential's claims, organised by namespaces.

Link copied to clipboard
val deviceKeyId: String

Id for the deviceKey used with this MobileCredential.

Link copied to clipboard
val docType: String

The credential's document type (e.g., passport, ID).

Link copied to clipboard
val id: String

Unique identifier for the MobileCredential.

Link copied to clipboard

Information about the credential's issuer, including commonName and trustedIssuerCertificateId.

Link copied to clipboard
Link copied to clipboard

Information about the validity period of the credential.

Link copied to clipboard

The result of the MobileCredential verification, if applicable.