Companion

object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
suspend fun fromCwt(cwt: ByteArray, trustedRootCert: X509Cert, checks: Map<WebTokenCheck, String> = mapOf(), atTime: Instant = Clock.System.now(), maxValidity: Duration = 365.days): CompressedStatusList

Parses and validates CWT that holds the status list.

Link copied to clipboard

Parses and validates CWT that holds the status list without validating its signature.

Link copied to clipboard
fun fromJson(json: JsonObject, expirationTime: Instant): CompressedStatusList

Parses JSON as status list.

Link copied to clipboard
suspend fun fromJwt(jwt: String, trustedRootCert: X509Cert, checks: Map<WebTokenCheck, String> = mapOf(), atTime: Instant = Clock.System.now(), maxValidity: Duration = 365.days): CompressedStatusList

Parses and validates JWT that holds the status list.

Link copied to clipboard

Parses and validates JWT that holds the status list without validating its signature.

Link copied to clipboard
fun fromStatusListClaim(dataItem: DataItem, expirationTime: Instant): CompressedStatusList

Parses CBOR as status list.