# CommonEncryptionCbcs

type object

## clearKeyEncryptionConfiguration
### object [ClearKeyEncryptionConfiguration](https://docs.mediakind.com/api-reference/media-api/schemas/clearkeyencryptionconfiguration) Optional

Clear key configuration

### Properties

- **customKeysAcquisitionUrlTemplate**: string Optional  
  The custom license acquisition URL template for a Clear Key license delivery service.

- **clearTracks**: list of objects [StreamingPolicyTrackSelection](https://docs.mediakind.com/api-reference/media-api/schemas/streamingpolicytrackselection) Optional  
  This represents which tracks should _not_ be encrypted.

- **trackSelections**: list of objects [StreamingPolicyTrackPropertyCondition](https://docs.mediakind.com/api-reference/media-api/schemas/streamingpolicytrackpropertycondition) Optional  
  track selections is used to specify a set or a subset of track for selection by the streaming policy.

### Properties

- **operation**: enum Required  
  Track property operation. Only equality is supported.  
  Allowed values: Unknown, Equal

- **property**: enum Required  
  Track property type  
  Allowed values: Unknown, FourCC

- **value**: string Optional  
  Track property value

## contentKeys
### object [StreamingPolicyContentKeys](https://docs.mediakind.com/api-reference/media-api/schemas/streamingpolicycontentkeys) Optional

Content keys used by the streaming policy.

### Properties

- **defaultKey**: object [DefaultKey](https://docs.mediakind.com/api-reference/media-api/schemas/defaultkey) Optional  
  Default content key used by the encryption.

### Properties

- **label**: string Optional  
  Labels are a potential matching field for selecting a content key via a streaming locator.

- **policyName**: string Optional  
  Policy used by the key.

- **keyToTrackMappings**: list of objects [StreamingPolicyContentKey](https://docs.mediakind.com/api-reference/media-api/schemas/streamingpolicycontentkey) Optional  
  List of content keys used by the key. Used to assign different keys to different tracks. For instance, using widevine L3 for SD and L1 for HD.

### Properties

- **label**: string Optional  
  Labels are a potential matching field for selecting a content key via a streaming locator.

- **policyName**: string Optional  
  Policy used by the key.

- **tracks**: list of objects [StreamingPolicyTrackSelection](https://docs.mediakind.com/api-reference/media-api/schemas/streamingpolicytrackselection) Optional  
  This represents which tracks should be encrypted.

### Properties

### Properties

- **operation**: enum Required  
  Track property operation. Only equality is supported.  
  Allowed values: Unknown, Equal

- **property**: enum Required  
  Track property type  
  Allowed values: Unknown, FourCC

- **value**: string Optional  
  Track property value

## drm
### object [CbcsDrmConfiguration](https://docs.mediakind.com/api-reference/media-api/schemas/cbcsdrmconfiguration) Optional

DRM configuration

### Properties

- **fairPlay**: object [StreamingPolicyFairPlayConfiguration](https://docs.mediakind.com/api-reference/media-api/schemas/streamingpolicyfairplayconfiguration) Optional  
  FairPlay configuration

### Properties

- **allowPersistentLicense**: boolean Required  
  Allow persistent license

- **customLicenseAcquisitionUrlTemplate**: string Optional  
  The custom license acquisition URL template for a FairPlay license delivery service.

- **playReady**: object [StreamingPolicyPlayReadyConfiguration](https://docs.mediakind.com/api-reference/media-api/schemas/streamingpolicyplayreadyconfiguration) Optional  
  PlayReady configuration

### Properties

- **customLicenseAcquisitionUrlTemplate**: string Optional  
  The custom license acquisition URL template for a PlayReady license delivery service.

- **playReadyCustomAttributes**: string Optional  
  The custom attributes for PlayReady.

- **widevine**: object [StreamingPolicyWidevineConfiguration](https://docs.mediakind.com/api-reference/media-api/schemas/streamingpolicywidevineconfiguration) Optional  
  Widevine configuration

### Properties

- **customLicenseAcquisitionUrlTemplate**: string Optional  
  The custom license acquisition URL template for a Widevine license delivery service.

- **enabledProtocols**: object [EnabledProtocols](https://docs.mediakind.com/api-reference/media-api/schemas/enabledprotocols) Optional  
  Enabled protocols. This is the set of protocols (dash, download, and hls) that will be delivered with common encryption.

### Properties

- **dash**: boolean Required  
  Enable Dash protocol

- **download**: boolean Required  
  Enable download protocol

- **hls**: boolean Required  
  Enable HLS protocol

- **smoothStreaming**: boolean Required  
  Smooth streaming is not supported and the value of this field is ignored.
