17 #ifndef _TS2_MARLIN_H_ 18 #define _TS2_MARLIN_H_ 31 #define TS2_MARLIN_CA_SYSTEM_ID 0x4AF4 32 #define TS2_MARLIN_MAC_SEED "MRL-BBTS-AUTH-KEY-10" 33 #define TS2_MARLIN_RIGHTS_TABLE_ID 0x82 35 #define TS2_MARLIN_SILENT_METHOD_ON_DEMAND 0x00 36 #define TS2_MARLIN_SILENT_METHOD_IN_ADVANCE 0x01 39 #define TS2_KEY_DERIVATION_FUNCTION_NONE 0 40 #define TS2_KEY_DERIVATION_FUNCTION_TRUNCATED_SHA1 1 86 ATX_Boolean single_key_layer,
94 ATX_UInt32* kdf_type);
112 ATX_String* cid_base,
113 ATX_Byte* cid_extension,
114 ATX_Boolean* is_service);
Definition: Ts2Tables.h:99
Definition: Ts2Marlin.h:45
ATX_Result TS2_MarlinCADescriptor_GetBaseContentIdAndProtection(const TS2_CADescriptor *marlin_desc, ATX_String *base_cid, TS2_TrafficProtectionSystem *protection, ATX_UInt32 *kdf_type)
ATX_String silent_rights_url
Definition: Ts2Marlin.h:47
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)
ATX_Boolean TS2_MarlinRightsTable_IsEmpty(TS2_MarlinRightsTable *self)
TS2_EXPORT ATX_Result TS2_MarlinRightsTable_Construct(TS2_MarlinRightsTable *self)
ATX_String preview_rights_url
Definition: Ts2Marlin.h:48
TS2_CADescriptor * TS2_GetMarlinCADescriptorFromCAT(const TS2_CAT *cat)
#define TS2_EXPORT
Definition: Ts2Config.h:67
ATX_Result TS2_VerifyMarlinKSM(const ATX_Byte *drm_key, const TS2_KSM *ksm)
TS2_Table base
Definition: Ts2Marlin.h:52
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.
ATX_String rights_issuer_url
Definition: Ts2Marlin.h:46
Definition: Ts2Tables.h:68
TS2_MarlinRightsInfo info
Definition: Ts2Marlin.h:53
Definition: Ts2Marlin.h:51
TS2_TrafficProtectionSystem
Definition: Ts2Protection.h:334
ATX_Result TS2_GetMarlinContentIdFromKSM(const char *cid_base, const TS2_KSM *ksm, ATX_String *cid)
Definition: Ts2Tables.h:91
Definition: Ts2Iec62455.h:85
Definition: Ts2Descriptors.h:76
TS2_CADescriptor * TS2_GetMarlinCADescriptorFromPMT(const TS2_PMT *pmt)