Companion

object Companion

Properties

Link copied to clipboard

Revoked applications.

Link copied to clipboard

The file name a current RevInfo document is kept under.

Link copied to clipboard

Revoked WMDRM devices.

Link copied to clipboard

Revoked PlayReady applications.

Link copied to clipboard

Revoked PlayReady runtimes.

Link copied to clipboard

Revocation information, version 1.

Link copied to clipboard

Revocation information, version 2.

Link copied to clipboard

The lists a client normally advertises.

Link copied to clipboard

The legacy Windows Media DRM network list.

Functions

Link copied to clipboard
suspend fun merge(current: String, incoming: String): String

Merge incoming into current, keeping whichever version of each list is newer.

Link copied to clipboard
suspend fun parse(document: ByteArray, verify: Boolean = true): RevocationList

Parse a RevInfo document from bytes, stripping a UTF-8 byte-order mark.

suspend fun parse(document: String, verify: Boolean = true): RevocationList

Parse a RevInfo document, verifying each list it can.

Link copied to clipboard
suspend fun versionOf(document: ByteArray, listId: Uuid): Long

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