---
title: AVContentKey
framework: avfoundation
role: symbol
role_heading: Class
path: avfoundation/avcontentkey
---

# AVContentKey

An object that represents the content key decryptor.

## Declaration

```swift
class AVContentKey
```

## Topics

### Accessing the specifier

- [contentKeySpecifier](avfoundation/avcontentkey/contentkeyspecifier.md)

### Inspecting protection status

- [externalContentProtectionStatus](avfoundation/avcontentkey/externalcontentprotectionstatus.md)
- [revoke()](avfoundation/avcontentkey/revoke().md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### FairPlay streaming

- [AVContentKeySession](avfoundation/avcontentkeysession.md)
- [AVContentKeySessionDelegate](avfoundation/avcontentkeysessiondelegate.md)
- [AVContentKeySpecifier](avfoundation/avcontentkeyspecifier.md)
- [AVContentKeyRequest](avfoundation/avcontentkeyrequest.md)
- [AVPersistableContentKeyRequest](avfoundation/avpersistablecontentkeyrequest.md)
- [AVContentKeyResponse](avfoundation/avcontentkeyresponse.md)
- [AVExternalContentProtectionStatus](avfoundation/avexternalcontentprotectionstatus.md)
- [AVSampleBufferAttachContentKey(_:_:_:)](avfoundation/avsamplebufferattachcontentkey(_:_:_:).md)
