<!--
{
  "availability" : [
    "iOS: 14.5.0 -",
    "iPadOS: 14.5.0 -",
    "macCatalyst: 14.5.0 -",
    "macOS: 11.3.0 -",
    "tvOS: 14.5.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 7.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVContentKeySpecifier",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVContentKeySpecifier"
  },
  "title" : "AVContentKeySpecifier"
}
-->

# AVContentKeySpecifier

An object that uniquely identifies a content key.

```
class AVContentKeySpecifier
```

## Topics

### Creating a specifier

[`init(forKeySystem:identifier:options:)`](/documentation/AVFoundation/AVContentKeySpecifier/init(forKeySystem:identifier:options:))

Creates a content key specifier.

[`contentKeySpecifierForKeySystem:identifier:options:`](/documentation/AVFoundation/AVContentKeySpecifier/contentKeySpecifierForKeySystem:identifier:options:)

A convenience initializer to create a content key specifier.

### Inspecting a specifier

[`identifier`](/documentation/AVFoundation/AVContentKeySpecifier/identifier)

The container and protocol-specific key identifier.

[`keySystem`](/documentation/AVFoundation/AVContentKeySpecifier/keySystem)

The key system that generates content keys.

[`options`](/documentation/AVFoundation/AVContentKeySpecifier/options)

A dictionary of options with which you initialized the specifier.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)