Use case: Live with key rotation
To use key rotation, packagers include a ContentKeyPeriod with “start” and “end” attributes, or index that corresponds to the desired time interval.
Following is an example request for Live asset “live_asset“ for Widevine.
<?xml version="1.0" encoding="utf-8"?>
<cpix:CPIX xmlns:cpix="urn:dashif:org:cpix" contentId="live_asset" version="2.3">
<cpix:ContentKeyList>
<cpix:ContentKey kid="Please contact your Verimatrix representative for further information"/>
</cpix:ContentKeyList>
<cpix:DRMSystemList>
<cpix:DRMSystem kid="Please contact your Verimatrix representative for further information" systemId="edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"/>
</cpix:DRMSystemList>
<cpix:ContentKeyPeriodList>
<cpix:ContentKeyPeriod id="keyperiod_1608224040" start="2020-12- 17T16:54:00Z" end="2020-12-17T16:55:00Z"/>
</cpix:ContentKeyPeriodList>
<cpix:ContentKeyUsageRuleList>
<cpix:ContentKeyUsageRule kid="Please contact your Verimatrix representative for further information">
<cpix:KeyPeriodFilter periodId="keyperiod_1608224040"/>
</cpix:ContentKeyUsageRule>
</cpix:ContentKeyUsageRuleList>
</cpix:CPIX>
Following is an example response for Live asset “live_asset“ for Widevine.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<cpix:CPIX contentId="live_asset" version="2.3" xmlns:speke="urn:aws:
amazon:com:speke" xmlns:pskc="urn:ietf:params:xml:ns:keyprov:pskc"
xmlns:enc="http://www.w3.org/2001/04/xmlenc#" xmlns:ds="http://www.w3.
org/2000/09/xmldsig#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:cpix="urn:
dashif:org:cpix">
<cpix:ContentKeyList>
<cpix:ContentKey explicitIV="OKgBwU7ZQnV5vRc7UxGq5g==" kid="
bd0686fb-5fcf-5eec-8d08-69e313ea0443">
<cpix:Data>
<pskc:Secret xmlns:pskc="urn:ietf:params:xml:ns:keyprov:
pskc">
<pskc:PlainValue>TU06zo36IJzbMOdkgM8KWg==</pskc:
PlainValue>
</pskc:Secret>
</cpix:Data>
</cpix:ContentKey>
</cpix:ContentKeyList>
<cpix:DRMSystemList>
<cpix:DRMSystem kid="Please contact your Verimatrix representative for further information"
systemId="edef8ba9-79d6-4ace-a3c8-27dcd51d21ed">
<cpix:
PSSH>AAAAOHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABgSEL0Ghvtfz17sjQhp4xPqBEN
I49yVmwY=</cpix:PSSH>
<cpix:
ContentProtectionData>PGNlbmM6cHNzaCB4bWxuczpjZW5jPSJ1cm46bXBlZzpjZW5jOj
IwMTMiPkFBQUFPSEJ6YzJnQUFBQUE3ZStMcVhuV1NzNmp5Q2ZjMVIwaDdRQUFBQmdTRUwwR2
h2dGZ6MTdzalFocDR4UHFCRU5JNDl5Vm13WT08L2NlbmM6cHNzaD4=</cpix:
ContentProtectionData>
<cpix:
HLSSignalingData>I0VYVC1YLUtFWTpNRVRIT0Q9U0FNUExFLUFFUyxVUkk9ImRhdGE6dGV
4dC9wbGFpbjtiYXNlNjQsQUFBQU9IQnpjMmdBQUFBQTdlK0xxWG5XU3M2anlDZmMxUjBoN1F
BQUFCZ1NFTDBHaHZ0ZnoxN3NqUWhwNHhQcUJFTkk0OXlWbXdZPSIsSVY9MHgzOGE4MDFjMTR
lZDk0Mjc1NzliZDE3M2I1MzExYWFlNixLRVlGT1JNQVQ9InVybjp1dWlkOmVkZWY4YmE5LTc
5ZDYtNGFjZS1hM2M4LTI3ZGNkNTFkMjFlZCIsS0VZRk9STUFUVkVSU0lPTlM9IjEi</cpix:
HLSSignalingData>
</cpix:DRMSystem>
</cpix:DRMSystemList>
<cpix:ContentKeyPeriodList>
<cpix:ContentKeyPeriod id="keyperiod_1608224040" start="2020-12-
17T16:54:00Z" end="2020-12-17T16:55:00Z"/>
</cpix:ContentKeyPeriodList>
<cpix:ContentKeyUsageRuleList>
<cpix:ContentKeyUsageRule kid="Please contact your Verimatrix representative for further information">
<cpix:KeyPeriodFilter periodId="keyperiod_1608224040"/>
</cpix:ContentKeyUsageRule>
</cpix:ContentKeyUsageRuleList>
</cpix:CPIX>
Updated 26 days ago
What’s Next