Credential

@Serializable
data class Credential(val configurationID: String, val format: String, val vct: String? = null, val doctype: String? = null, val name: String? = null, val description: String? = null, val logo: Logo? = null, val backgroundColor: String? = null, val textColor: String? = null)(source)

One offered credential.

Constructors

Link copied to clipboard
constructor(configurationID: String, format: String, vct: String? = null, doctype: String? = null, name: String? = null, description: String? = null, logo: Logo? = null, backgroundColor: String? = null, textColor: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "background_color")
val backgroundColor: String?

The card's background colour.

Link copied to clipboard
@SerialName(value = "configuration_id")
val configurationID: String

The issuer's credential configuration.

Link copied to clipboard

The issuer's description of it.

Link copied to clipboard

An mdoc's document type.

Link copied to clipboard

Its format: dc+sd-jwt or mso_mdoc.

Link copied to clipboard
val logo: Logo?

Its logo.

Link copied to clipboard
val name: String?

The issuer's display metadata for it, in the holder's language.

Link copied to clipboard
@SerialName(value = "text_color")
val textColor: String?

The card's text colour.

Link copied to clipboard
val vct: String?

An SD-JWT VC's type.