Type Method

contentKeyResponseWithFairPlayStreamingKeyResponseData:

Creates a new key response object with an encrypted key response data blob when FairPlay Streaming is the key delivery method.

Declaration

+ (instancetype)contentKeyResponseWithFairPlayStreamingKeyResponseData:(NSData *)keyResponseData;

Parameters

keyResponseData

The key data from the FairPlay Streaming key server.

Return Value

Returns a new AVContentKeyResponse object to decrypt content.

Discussion

Use the results of this initializer when the content key session creates a key request using the AVContentKeySystemFairPlayStreaming parameter. The results are then passed to the processContentKeyResponse: method to supply the decrypter with key data.

See Also

Creating New Content Key Responses

+ contentKeyResponseWithClearKeyData:initializationVector:

Creates a new key response object for key data and initialization vector sent in the clear.