StatusListInfo

@Serializable
data class StatusListInfo(val index: ULong, val uri: UniformResourceIdentifier, val certificate: ByteArray? = null) : RevocationListInfo(source)

Specifies an url to retrieve a status list token, and an index specifying the position in the status list within that status list token that holds the token status of the the referenced token.

Constructors

Link copied to clipboard
constructor(index: ULong, uri: UniformResourceIdentifier, certificate: ByteArray? = null)

Properties

Link copied to clipboard
open override val certificate: ByteArray?

The identifier_list and status_list in the MSO may contain the Certificate element. If the Certificate element is present, it shall contain a certificate containing the public key that signed the top-level certificate in the x5chain element in the MSO revocation list structure. The mdoc reader shall use that certificate as trust point for verification of the x5chain element in the MSO revocation list structure. If the Certificate element is not present, the top-level certificate in the x5chain element shall be signed by the certificate used to sign the certificate in the x5chain element of the MSO. In the context of an mDL, that is the IACA certificate.

Link copied to clipboard
@SerialName(value = "idx")
val index: ULong

JOSE: idx: REQUIRED. The idx (index) claim MUST specify an Integer that represents the index to check for status information in the Status List for the current Referenced Token. The value of idx MUST be a non-negative number, containing a value of zero or greater.

Link copied to clipboard
@SerialName(value = "uri")
open override val uri: UniformResourceIdentifier

JOSE: uri: REQUIRED. The uri (URI) claim MUST specify a String value that identifies the Status List or Status List Token containing the status information for the Referenced Token. The value of uri MUST be a URI conforming to RFC3986.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int