PlayreadyKey

class PlayreadyKey(val kid: Uuid, val key: ByteArray, val keyType: PlayreadyKeyType, val cipherType: PlayreadyCipherType, val keyLength: Int)

A decrypted PlayReady content key.

kid is held big-endian, matching cenc:default_KID and ktvine's Widevine keys; the little-endian GUID form PlayReady stores is converted on the way in.

This is deliberately not ktvine's Key, whose type is a Widevine protobuf enum that cannot describe PlayreadyKeyType.

Constructors

Link copied to clipboard
constructor(kid: Uuid, key: ByteArray, keyType: PlayreadyKeyType, cipherType: PlayreadyCipherType, keyLength: Int)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val kid: Uuid

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String