RevocationStore

interface RevocationStore

Where revocation data persists between sessions.

A license challenge advertises which revocation lists the client already holds and at what version; a server may then send newer ones back, which the client is expected to keep. There is no multiplatform notion of a user data directory, so ktprd asks the caller where that goes instead of guessing — the same reason ktvine's device loading takes an explicit FileSystem.

Inheritors

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract suspend fun read(name: String): ByteArray?
Link copied to clipboard
abstract suspend fun write(name: String, data: ByteArray)