---
title: "processContentKeyRequest(withIdentifier:initializationData:options:)"
framework: avfoundation
role: symbol
role_heading: Instance Method
path: "avfoundation/avcontentkeysession/processcontentkeyrequest(withidentifier:initializationdata:options:)"
---

# processContentKeyRequest(withIdentifier:initializationData:options:)

Tells the delegate to start loading the content decryption key with the specified identifier and initialization data.

## Declaration

```swift
func processContentKeyRequest(withIdentifier identifier: (any Sendable)?, initializationData: Data?, options: [String : any Sendable]? = nil)
```

## Parameters

- `identifier`: The container- and protocol-specific identifier used to obtain a key response.
- `initializationData`: The container- and protocol-specific data used to obtain a key response.
- `options`: No options are currently defined. Set this value to nil.

## Discussion

Discussion Either the identifier or initializationData parameters must be non-nil. If required by the protocol, both parameters can be non-nil.
