[Bug 24027] Define a generic Initialization Data solution for ISO Base Media File Format and/or Common Encryption (will be used by Clear Key)

https://www.w3.org/Bugs/Public/show_bug.cgi?id=24027

--- Comment #13 from Mark Watson <watsonm@netflix.com> ---
Concretely, we could use the new version of the PSSH box, defined as follows:

aligned(8) class ProtectionSystemSpecificHeaderBox extends FullBox(‘pssh’,
version, flags=0) 
{  
    unsigned int(8)[16]   SystemID;
    if (version > 0) 
     { 
          unsigned int(32)    KID_count;   
          { 
               unsigned int(8)[16]  KID; 
          } [KID_count]; 
     } 
     unsigned int(32)    DataSize;  
     unsigned int(8)[DataSize] Data;  
}

For the clear-key case, the Data would be defined to contain

{
    unsigned int(8)[16]  keyMac;
} [KID_count];

or Data may be empty if the MACs are not provided.

For each key,

keyMac = HMAC-SHA256( CK, KID ), where CK is the content key with key id KID.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 18 March 2014 14:55:01 UTC