MobileCredential

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

Represents an issued mobile credential.

See also

Constructors

Link copied to clipboard
constructor(id: String, verificationResult: MobileCredentialVerificationResult? = null, issuerInfo: IssuerInfo, docType: String, validityInfo: MobileCredentialValidity, claims: Map<String, Map<String, MobileCredentialElement>>, msoHash: String, 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, organized by namespaces.

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 mobile credential.

Link copied to clipboard

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

Link copied to clipboard
val msoHash: String

Unique identifier calculated by sha256 hash of Mobile Security Object. Represented as a Base64 string with no padding.

Link copied to clipboard

Information about the validity period of the credential.

Link copied to clipboard

The result of the mobile credential verification.