CwtTimeToLiveClaim

@Serializable
value class CwtTimeToLiveClaim(val positiveDuration: PositiveDuration)(source)

65534 (time to live): OPTIONAL. Unsigned integer (Major Type 0). The time to live claim, if present, MUST specify the maximum amount of time, in seconds, that the Status List Token can be cached by a consumer before a fresh copy SHOULD be retrieved. The value of the claim MUST be a positive number.

Constructors

Link copied to clipboard
constructor(positiveDuration: PositiveDuration)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data object Specification

Properties

Functions

Link copied to clipboard
fun isInvalid(resolvedAt: Instant, isInstantInThePast: (Instant) -> Boolean): Boolean