MobileCredentialMetaData

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

Represents a mobile credential, excluding any Personally Identifiable Information (PII).

See also

Constructors

Link copied to clipboard
constructor(    id: String,     issuerInfo: IssuerInfo,     docType: String,     validityInfo: MobileCredentialValidity,     claims: Map<String, Set<String>>,     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, Set<String>>

A map containing the credential's claims, keyed 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 MobileCredentialMetaData.

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.