MdocClaim

data class MdocClaim(val displayName: String, val attribute: DocumentAttribute?, val namespaceName: String, val dataElementName: String, val value: DataItem) : Claim

A claim in an ISO mdoc credential.

Constructors

Link copied to clipboard
constructor(displayName: String, attribute: DocumentAttribute?, namespaceName: String, dataElementName: String, value: DataItem)

Properties

Link copied to clipboard
open override val attribute: DocumentAttribute?

a DocumentAttribute, if the claim is for a well-known attribute.

Link copied to clipboard

the data element name.

Link copied to clipboard
open override val displayName: String

a short human readable string describing the claim.

Link copied to clipboard

the mdoc namespace.

Link copied to clipboard

the value of the claim.

Functions

Link copied to clipboard
open override fun render(timeZone: TimeZone): String

Returns the value of a claim as a human readable string.