CredentialStatus

@Serializable
data class CredentialStatus(val rawValue: String, val checkedAt: Instant)(source)

A credential's revocation status in the issuer's status list, as last checked (Wallet.checkStatus).

Constructors

Link copied to clipboard
constructor(rawValue: String, checkedAt: Instant)

Types

Link copied to clipboard
sealed interface Value

A status in the issuer's list.

Properties

Link copied to clipboard
@SerialName(value = "checked_at")
@Serializable(with = InstantSerializer::class)
val checkedAt: Instant

When it was checked.

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

The status as the issuer's list names it: valid, invalid, suspended, or "0x" and a value of the list's own. value reads it.

Link copied to clipboard

rawValue, read.