CredentialMetadata

@Serializable
data class CredentialMetadata(val claimDescription: Set<ClaimDescription>? = null, val display: Set<DisplayProperties>? = null)(source)

OID4VCI: Object containing information relevant to the usage and display of issued Credentials. Credential Format-specific mechanisms can overwrite the information in this object to convey Credential metadata. Format-specific mechanisms, such as SD-JWT VC display metadata are always preferred by the Wallet over the information in this object, which serves as the default fallback.

Constructors

Link copied to clipboard
constructor(claimDescription: Set<ClaimDescription>? = null, display: Set<DisplayProperties>? = null)

Properties

Link copied to clipboard
@SerialName(value = "claims")
val claimDescription: Set<ClaimDescription>? = null

OID4VCI: Issuer Metadata: A claims description object as used in the Credential Issuer metadata is an object used to describe how a certain claim in the Credential is displayed to the End-User. It is used in the claims parameter in the Credential Issuer metadata defined in Appendix A.

Link copied to clipboard
@SerialName(value = "display")
val display: Set<DisplayProperties>? = null

OID4VCI: OPTIONAL. A non-empty array of objects, where each object contains the display properties of the supported Credential for a certain language.