versionOf

suspend fun versionOf(document: ByteArray, listId: Uuid): Long

The version of listId declared by a stored RevInfo document, or 0.

Signatures are not checked here: this only reads back what this client previously stored, and a challenge that advertises a stale version is refused by the server, not exploited.