IdentifierList

data class IdentifierList(val id: ByteString, val uri: String, val certificate: X509Cert?) : RevocationStatus

Identifier list as defined in ISO/IEC 18013-5 Section 12.3.6.4 "Identifier list details".

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

Constructors

Link copied to clipboard
constructor(id: ByteString, uri: String, certificate: X509Cert?)

Properties

Link copied to clipboard
Link copied to clipboard
val id: ByteString
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(): Nothing

Must not be called, RevocationStatus.IdentifierList is ISO-mdoc-specific revocation status format and it cannot be encoded as JSON.