---
title: cryptorSubsampleAuxiliaryData
framework: coremedia
role: symbol
role_heading: Instance Property
path: coremedia/cmsamplebuffer/sampleattachments-swift.struct/cryptorsubsampleauxiliarydata
---

# cryptorSubsampleAuxiliaryData

Describes the ranges of protected and unprotected data within a protected sample buffer.

## Declaration

```swift
var cryptorSubsampleAuxiliaryData: Data? { get set }
```

## Discussion

Discussion The value should contain one or more BytesOfClearData/BytesOfProtectedData pairs as appears in the ‘senc’ box (see ISO/IEC 23001-7 section 7.2.2). The BytesOfClearData and the BytesOfProtectedData fields are 32-bit integers. Both are native endian in the Data. This attachment is not present if the CMSampleBuffer contains unprotected content.
