Package-level declarations

Types

Link copied to clipboard

A persistent disk-based implementation of LogListCache for Android.

Link copied to clipboard
data class CachedLogList(val jsonBytes: ByteArray, val signatureBytes: ByteArray?, val fetchedAt: Instant)

A cached log list with metadata about when it was fetched.

Link copied to clipboard

A LogListDataSource that loads the bundled baseline log list. Used as a last-resort fallback when the network log list is unavailable and no cached version exists.

Link copied to clipboard

A simple in-memory implementation of LogListCache. Holds at most one cached log list in memory. Not persistent across app restarts.

Link copied to clipboard
class IosDiskLogListCache(cacheDirectoryPath: String)

A persistent disk-based implementation of LogListCache for iOS.

Link copied to clipboard
interface LogListCache

Cache interface for storing and retrieving a parsed log list.

Link copied to clipboard

Abstraction for fetching a raw CT log list (JSON + optional signature).

Link copied to clipboard

Parses the Google CT Log List V3 JSON format. Uses lenient/defensive configuration to tolerate unknown fields, empty arrays, etc.

Link copied to clipboard
sealed class LogListResult

Result of a log list fetch operation.

Link copied to clipboard
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)

Service that manages the lifecycle of the trusted CT log list.

Link copied to clipboard

Verifies the digital signature of a CT log list JSON file. The log list is signed by Google using ECDSA with the key in GoogleLogListPublicKey.

Link copied to clipboard
data class RawLogList(val jsonBytes: ByteArray, val signatureBytes: ByteArray?)

Raw log list data as fetched from a source.

Link copied to clipboard
actual object ResourceLoader

Android implementation of ResourceLoader. Loads resources from the classpath using the class loader.

expect object ResourceLoader

Platform-specific loader for embedded resources.

actual object ResourceLoader

iOS implementation of ResourceLoader. Loads resources from the main application bundle.