Non-Direct License Acquisition - APP/MDRMM
This page describes the request that a client application or STB makes to the MDRMM and the response that it receives for licence acquisition in non-direct mode.
API CALL
The client app/STB makes a/client/getEntitlements request to the MDRMM.
Variant cases
Hardware PRM vs software PRM
Hardware PRM requests (that is, requests from STBs) have different mandatory fields within the deviceSpecification part of the request.
For software PRM:
- Only
opaqueDatais mandatory.
For hardware DRM:
opaqueDatais not mandatory.In
drmSpecification,nameshould beSWPRM.You must use either
casnornuid.If you use
nuid, you must also usects.In
deviceSpecification, thedeviceUniqueIdentifieris usually the CASN (but it could be different if agreed between the (third-party) portal and the cliet app).In
drmSpecification,nameshould beHWPRM.
Multiple portals
If you are using multiple portals, you must include a com.nagra.portalkey in applicationData in the request so that the MDRMM knows which portal to forward the request to. applicationData should look like this:
"applicationData" : {"com.nagra.portalkey": "<portal_key>"}
Response
A successful response will include at least the following:
"status ": 0"prmStatus" : "OK""authStatus" : "GRANTED"An
entitlementsarray containing at least one object with values fordcm,dmm, andsignaling.If a
deviceobject is included, it will always contain at least:secretId- A
statusobject, containing:compromisedOSearlyDevice- `lateDevice'
Variant cases
STB vs open device
For an open device, the response always includes a device object. For an STB, it does not.