createDevice

suspend fun createDevice(groupCertificate: CertificateChain, groupKey: EccKey, encryptionKey: EccKey? = null, signingKey: EccKey? = null): PlayreadyDevice

Provision a device from a group certificate and its private key.

Parameters

encryptionKey

reuse an existing key, or leave null to generate one

signingKey

likewise

Throws

if the chain is already provisioned