LogListService
class LogListService(networkSource: LogListDataSource? = null, embeddedSource: LogListDataSource = EmbeddedLogListDataSource(), cache: LogListCache = InMemoryLogListCache(), signatureVerifier: LogListSignatureVerifier? = null, maxAge: <Error class: unknown class> = 70.days, clock: <Error class: unknown class> = Clock.System)(source)
Service that manages the lifecycle of the trusted CT log list.
Loading priority: Cache → Network → Embedded fallback. If the cached list is older than maxAge, a network refresh is attempted. If that fails, the stale cache is used with a warning. If no cache exists, the embedded baseline is used.
Constructors
Link copied to clipboard
constructor(networkSource: LogListDataSource? = null, embeddedSource: LogListDataSource = EmbeddedLogListDataSource(), cache: LogListCache = InMemoryLogListCache(), signatureVerifier: LogListSignatureVerifier? = null, maxAge: <Error class: unknown class> = 70.days, clock: <Error class: unknown class> = Clock.System)