Go to the source code of this file.
|
TS2_CADescriptor * | TS2_GetMarlinCADescriptorFromPMT (const TS2_PMT *pmt) |
|
TS2_CADescriptor * | TS2_GetMarlinCADescriptorFromCAT (const TS2_CAT *cat) |
|
ATX_Result | TS2_MarlinCADescriptor_Create (ATX_UInt16 pid, const char *base_cid, ATX_Boolean single_key_layer, TS2_TrafficProtectionSystem protection, TS2_CADescriptor **desc) |
| Create a Marlin BBTS CA Descriptor object. More...
|
|
ATX_Result | TS2_MarlinCADescriptor_GetBaseContentIdAndProtection (const TS2_CADescriptor *marlin_desc, ATX_String *base_cid, TS2_TrafficProtectionSystem *protection, ATX_UInt32 *kdf_type) |
|
ATX_Result | TS2_GetMarlinContentIdFromKSM (const char *cid_base, const TS2_KSM *ksm, ATX_String *cid) |
|
ATX_Result | TS2_GetMarlinContentIdAndProtectionFromKSM (const char *cid_base, const TS2_KSM *ksm, ATX_String *cid, TS2_TrafficProtectionSystem *protection) |
|
ATX_Result | TS2_ParseContentId (const char *content_id, ATX_String *cid_base, ATX_Byte *cid_extension, ATX_Boolean *is_service) |
|
TS2_EXPORT ATX_Result | TS2_MarlinRightsTable_Construct (TS2_MarlinRightsTable *self) |
|
ATX_Boolean | TS2_MarlinRightsTable_IsEmpty (TS2_MarlinRightsTable *self) |
|
ATX_Result | TS2_VerifyMarlinKSM (const ATX_Byte *drm_key, const TS2_KSM *ksm) |
|
◆ TS2_KEY_DERIVATION_FUNCTION_NONE
#define TS2_KEY_DERIVATION_FUNCTION_NONE 0 |
◆ TS2_KEY_DERIVATION_FUNCTION_TRUNCATED_SHA1
#define TS2_KEY_DERIVATION_FUNCTION_TRUNCATED_SHA1 1 |
◆ TS2_MARLIN_CA_SYSTEM_ID
#define TS2_MARLIN_CA_SYSTEM_ID 0x4AF4 |
◆ TS2_MARLIN_MAC_SEED
#define TS2_MARLIN_MAC_SEED "MRL-BBTS-AUTH-KEY-10" |
◆ TS2_MARLIN_RIGHTS_TABLE_ID
#define TS2_MARLIN_RIGHTS_TABLE_ID 0x82 |
◆ TS2_MARLIN_SILENT_METHOD_IN_ADVANCE
#define TS2_MARLIN_SILENT_METHOD_IN_ADVANCE 0x01 |
◆ TS2_MARLIN_SILENT_METHOD_ON_DEMAND
#define TS2_MARLIN_SILENT_METHOD_ON_DEMAND 0x00 |
◆ TS2_GetMarlinCADescriptorFromCAT()
◆ TS2_GetMarlinCADescriptorFromPMT()
◆ TS2_GetMarlinContentIdAndProtectionFromKSM()
◆ TS2_GetMarlinContentIdFromKSM()
ATX_Result TS2_GetMarlinContentIdFromKSM |
( |
const char * |
cid_base, |
|
|
const TS2_KSM * |
ksm, |
|
|
ATX_String * |
cid |
|
) |
| |
◆ TS2_MarlinCADescriptor_Create()
Create a Marlin BBTS CA Descriptor object.
The object must be destroyed using TS2_KSM_Destroy once no longer needed.
- Parameters
-
pid | the Program ID for the ECM TS packets. |
base_cid | the based portion of the Marlin content ID (0 terminated), can be NULL. |
single_key_layer | the BBTS Single Key Layer flag (ATX_TRUE or ATX_FALSE). |
protection | the traffic protection system. |
desc | address of the pointer where the newly created Marlin CA Descriptor object is returned. |
◆ TS2_MarlinCADescriptor_GetBaseContentIdAndProtection()
◆ TS2_MarlinRightsTable_Construct()
◆ TS2_MarlinRightsTable_IsEmpty()
◆ TS2_ParseContentId()
ATX_Result TS2_ParseContentId |
( |
const char * |
content_id, |
|
|
ATX_String * |
cid_base, |
|
|
ATX_Byte * |
cid_extension, |
|
|
ATX_Boolean * |
is_service |
|
) |
| |
◆ TS2_VerifyMarlinKSM()
ATX_Result TS2_VerifyMarlinKSM |
( |
const ATX_Byte * |
drm_key, |
|
|
const TS2_KSM * |
ksm |
|
) |
| |