Companion

object Companion

Properties

Link copied to clipboard
const val CURRENT_VERSION: Int = 3

The version this library writes by default.

Functions

Link copied to clipboard
fun load(path: String, fileSystem: FileSystem): PlayreadyDevice
fun load(path: Path, fileSystem: FileSystem): PlayreadyDevice

Read a .prd file from path.

Link copied to clipboard

Parse a .prd blob.

Parse a Base64-encoded .prd blob.

Link copied to clipboard
fun of(groupKey: EccKey?, encryptionKey: EccKey, signingKey: EccKey, groupCertificate: CertificateChain): PlayreadyDevice

Assemble a device from its raw parts, as create-device style provisioning produces.