StatusList

data class StatusList(val idx: Int, val uri: String, val certificate: X509Cert?) : RevocationStatus

Status list is a format defined Token Status List draft standard.

org.multipaz.revocation.StatusList can be used to determine revocation status of a credential.

Theoretically, status lists can be used to manage a mixture of both ISO mdoc and SD-JWT credentials, but this should not be done in most cases. The data format for status list allows status codes with various number of bits, which may be required for SD-JWT. However ISO mdoc is currently limited to one-bit status. This makes cross-format status list sharing awkward.

Constructors

Link copied to clipboard
constructor(idx: Int, uri: String, certificate: X509Cert?)

Properties

Link copied to clipboard
Link copied to clipboard
val idx: Int
Link copied to clipboard
val uri: String

Functions

Link copied to clipboard
open override fun toDataItem(): DataItem

Revocation status expressed as CBOR to use in ISO mdoc credentials.

Link copied to clipboard
open override fun toJson(): JsonObject

Revocation status expressed as JSON to use in SD-JWT credentials