Class

AVContentKeyRequest

An object that encapsulates information about a content decryption key request issued from a content key session object.

Declaration

@interface AVContentKeyRequest : NSObject

Topics

Getting Content Key Request Data

- makeStreamingContentKeyRequestDataForApp:contentIdentifier:options:completionHandler:

Obtains encrypted key request data for a specific combination of app and content.

AVContentKeyRequestProtocolVersionsKey

A key that specifies the versions of the content protection protocol supported by the application.

Responding to the Content Key Request

- respondByRequestingPersistableContentKeyRequestAndReturnError:

Tells the receiver that the app requires a persistable content key request object for processing.

- processContentKeyResponse:

Sends the specified content key response to the receiver for processing.

- processContentKeyResponseError:

Tells the receiver that the app was unable to obtain a content key response.

- respondByRequestingPersistableContentKeyRequest

Tells the receiver that the app requires a persistable content key request object for processing.

Deprecated

Getting Content Key Request Properties

identifier

The identifier for the content key.

canProvidePersistableContentKey

The content key request used to create a persistable content key or respond to a previous request with a persistable content key.

error

The error description for a failed key request.

initializationData

The data used to obtain a key response.

renewsExpiringResponseData

A Boolean value that indicates whether the content key request renews previously provided response data.

status

The current state of the content key request.

AVContentKeyRequestStatus

The status for a content key request.

Instance Properties

Relationships

Inherits From

See Also

Content Key Decryption

AVContentKeyResponse

An object that encapsulates information about a response to a content decryption key request.

AVContentKeySession

An object used to create and track decryption keys for media data.

AVPersistableContentKeyRequest

An object that encapsulates information about a persistable content decryption key request issued from a content key session.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software