GET api/Anevia/{id}?fixedIv={fixedIv}

Generates CPIX according to the Anevia CPIX key exchange protocol.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

CPIX Configuration as url-safe base64-encoded JSON.

string

Required

fixedIv

If set to true, IVs will be deterministically derived for each different Key ID. Otherwise, IVs will be randomly generated. Default is false.

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

None.

Status Codes

All HTTP status codes must be expected, but the following status codes are the most probable:

  • OK (200) - CPIX was successfully generated.
  • BadRequest (400) - CPIX generation failed due to invalid input data.

Response Formats

application/cpix+xml

Sample:
<?xml version="1.0" encoding="utf-8"?>
<CPIX xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:dashif:org:cpix" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:enc="http://www.w3.org/2001/04/xmlenc#" xmlns:pskc="urn:ietf:params:xml:ns:keyprov:pskc">
	<ContentKeyList>
		<ContentKey kid="1294b959-9d75-5de2-bbf0-fdca3fa5eab8" explicitIV="ez6RSem1PE2CdoSC9jXosg==">
			<Data>
				<pskc:Secret>
					<pskc:PlainValue>MDEyMzQ1Njc4OWFiY2RlZg==</pskc:PlainValue>
				</pskc:Secret>
			</Data>
		</ContentKey>
		<ContentKey kid="2294b959-9d75-5de2-bbf0-fdca3fa5eab8" explicitIV="afqsAFfz6EqfrlsKa45yVA==">
			<Data>
				<pskc:Secret>
					<pskc:PlainValue>ZmVkY2JhOTg3NjU0MzIxMA==</pskc:PlainValue>
				</pskc:Secret>
			</Data>
		</ContentKey>
	</ContentKeyList>
	<DRMSystemList>
		<DRMSystem systemId="94ce86fb-07ff-4f43-adb8-93d2fa968ca2" kid="1294b959-9d75-5de2-bbf0-fdca3fa5eab8">
			<URIExtXKey>c2tkOi8vMTI5NGI5NTktOWQ3NS01ZGUyLWJiZjAtZmRjYTNmYTVlYWI4OjdCM0U5MTQ5RTlCNTNDNEQ4Mjc2ODQ4Mk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bXBlZzpjZW5jOjIwMTMiPkFBQUFabkJ6YzJnQUFBQUE3ZStMcVhuV1NzNmp5Q2ZjMVIwaDdRQUFBRVlTRUJLVXVWbWRkVjNpdS9EOXlqK2w2cmdhQmtGNGFXNXZiU0lrTVRJNU5HSTVOVGt0T1dRM05TMDFaR1V5TFdKaVpqQXRabVJqWVRObVlUVmxZV0k0U09QY2xac0c8L2NlbmM6cHNzaD4=</ContentProtectionData>
		</DRMSystem>
		<DRMSystem systemId="94ce86fb-07ff-4f43-adb8-93d2fa968ca2" kid="2294b959-9d75-5de2-bbf0-fdca3fa5eab8">
			<URIExtXKey>c2tkOi8vMjI5NGI5NTktOWQ3NS01ZGUyLWJiZjAtZmRjYTNmYTVlYWI4OjY5RkFBQzAwNTdGM0U4NEE5RkFFNUIwQTZCOEU3MjU0</URIExtXKey>
		</DRMSystem>
		<DRMSystem systemId="9a04f079-9840-4286-ab92-e65be0885f95" kid="2294b959-9d75-5de2-bbf0-fdca3fa5eab8">
			<ContentProtectionData>PGNlbmM6cHNzaCB4bWxuczpjZW5jPSJ1cm46bXBlZzpjZW5jOjIwMTMiPkFBQUI1SEJ6YzJnQUFBQUFtZ1R3ZVpoQVFvYXJrdVpiNEloZmxRQUFBY1RFQVFBQUFRQUJBTG9CUEFCWEFGSUFUUUJJQUVVQVFRQkVBRVVBVWdBZ0FIZ0FiUUJzQUc0QWN3QTlBQ0lBYUFCMEFIUUFjQUE2QUM4QUx3QnpBR01BYUFCbEFHMEFZUUJ6QUM0QWJRQnBBR01BY2dCdkFITUFid0JtQUhRQUxnQmpBRzhBYlFBdkFFUUFVZ0JOQUM4QU1nQXdBREFBTndBdkFEQUFNd0F2QUZBQWJBQmhBSGtBVWdCbEFHRUFaQUI1QUVnQVpRQmhBR1FBWlFCeUFDSUFJQUIyQUdVQWNnQnpBR2tBYndCdUFEMEFJZ0EwQUM0QU1BQXVBREFBTGdBd0FDSUFQZ0E4QUVRQVFRQlVBRUVBUGdBOEFGQUFVZ0JQQ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ZBRUVBVEFCSEFFa0FSQUErQUR3QUx3QlFBRklBVHdCVUFFVUFRd0JVQUVrQVRnQkdBRThBUGdBOEFFc0FTUUJFQUQ0QVZ3QmlBRzBBVlFCSkFHNEFWd0JrQURRQWJBQXlBRGNBT0FCUUFETUFTd0JRQURZQVdBQnhBSFVBUVFBOUFEMEFQQUF2QUVzQVNRQkVBRDRBUEFBdkFFUUFRUUJVQUVFQVBnQThBQzhBVndCU0FFMEFTQUJGQUVFQVJBQkZBRklBUGdBPTwvcHJvPg==</ContentProtectionData>
		</DRMSystem>
		<DRMSystem systemId="edef8ba9-79d6-4ace-a3c8-27dcd51d21ed" kid="2294b959-9d75-5de2-bbf0-fdca3fa5eab8">
			<ContentProtectionData>PGNlbmM6cHNzaCB4bWxuczpjZW5jPSJ1cm46bXBlZzpjZW5jOjIwMTMiPkFBQUFabkJ6YzJnQUFBQUE3ZStMcVhuV1NzNmp5Q2ZjMVIwaDdRQUFBRVlTRUNLVXVWbWRkVjNpdS9EOXlqK2w2cmdhQmtGNGFXNXZiU0lrTWpJNU5HSTVOVGt0T1dRM05TMDFaR1V5TFdKaVpqQXRabVJqWVRObVlUVmxZV0k0U09QY2xac0c8L2NlbmM6cHNzaD4=</ContentProtectionData>
		</DRMSystem>
	</DRMSystemList>
	<ContentKeyUsageRuleList>
		<ContentKeyUsageRule kid="1294b959-9d75-5de2-bbf0-fdca3fa5eab8">
			<AudioFilter />
		</ContentKeyUsageRule>
		<ContentKeyUsageRule kid="2294b959-9d75-5de2-bbf0-fdca3fa5eab8">
			<VideoFilter minPixels="0" maxPixels="2073600" />
		</ContentKeyUsageRule>
	</ContentKeyUsageRuleList>
</CPIX>