AndroidDiskLogListCache

A persistent disk-based implementation of LogListCache for Android.

Stores the cached log list as two files inside a ct-log-cache/ subdirectory of the provided cacheDir:

  • log_list.json — raw JSON bytes

  • log_list.meta — metadata (fetchedAt timestamp + optional base64-encoded signature)

Constructors

Link copied to clipboard
constructor(cacheDir: File)

Functions

Link copied to clipboard
open suspend override fun get(): CachedLogList?

Get the cached log list, or null if not cached.

Link copied to clipboard
open suspend override fun put(logList: CachedLogList)

Store a log list in the cache.