Wasabi ExpressPlay SDK for Embedded Systems  1.23.0
Data Fields
XPCA_Content Struct Reference

An XPCA_Content type describes the status of a protected content with regard to the license associated with it. More...

#include <EmbStorage.h>

Data Fields

uint8_t contentId [EMB_CONTENT_ID_HASH_LENGTH]
 Binary data for the hash content id. More...
 
uint32_t status
 Bitmask, use XPCA_CONTENT_STATUS_IS_IN_xxx to access the bitmask. More...
 
int32_t eplGroupId
 Group id from the EPL, -1 if contentID is missing in the EPL or it is not associated with a group. More...
 

Detailed Description

An XPCA_Content type describes the status of a protected content with regard to the license associated with it.

The status and groupId values allow to characterize the status of the content according to the following table:

not inEPD, not in EPL, invalid group id => impossible
not inEPD, not in EPL, valid group id => impossible (not in EPL implies invalid group id)
not inEPD, in EPL, invalid group id => license targeted to a device and not associated with a package
not inEPD, in EPL, valid group id => license targeted to a group and group is associated with a package
inEPD, not in EPL, invalid group id => license not received yet
inEPD, not in EPL, valid group id => impossible (not in EPL implies invalid group id)
inEPD, in EPL, invalid group id => license targeted to a device and associated with a package
inEPD, in EPL, valid group id => license targeted to a group and associated with a package
(caller must verify that the \e groupId matches the
group id associated with the package id used in the query otherwise there is an
inconsistency in the EMBB storage database - most likely caused by a mistake of
the operator)

Field Documentation

◆ contentId

uint8_t XPCA_Content::contentId[EMB_CONTENT_ID_HASH_LENGTH]

Binary data for the hash content id.

◆ eplGroupId

int32_t XPCA_Content::eplGroupId

Group id from the EPL, -1 if contentID is missing in the EPL or it is not associated with a group.

◆ status

uint32_t XPCA_Content::status

Bitmask, use XPCA_CONTENT_STATUS_IS_IN_xxx to access the bitmask.


The documentation for this struct was generated from the following file: