IdentifierList

class IdentifierList(identifiers: Set<ByteString>, val creationTime: Instant = Clock.System.now())

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

Documents with identifiers in the identifiers set are considered invalid/revoked. Document identifier for the purposes of revocation is stored RevocationStatus.IdentifierList.id in org.multipaz.mdoc.mso.MobileSecurityObject.revocationStatus.

Parameters

identifiers

set of identifiers of revoked document

creationTime

time when this object was created

Constructors

Link copied to clipboard
constructor(identifiers: Set<ByteString>, creationTime: Instant = Clock.System.now())

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun contains(identifier: ByteString): Boolean
fun contains(identifier: Bstr): Boolean
Link copied to clipboard
suspend fun serializeAsCwt(key: AsymmetricKey, subject: String, expiresIn: Duration = 20.minutes + Random.Default.nextInt(1000).seconds): ByteArray