Contents

streamingContentKeyRequestData(forApp:contentIdentifier:options:)

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

Declaration

func streamingContentKeyRequestData(forApp appIdentifier: Data, contentIdentifier: Data, options: [String : Any]? = nil) throws -> Data

Parameters

  • appIdentifier:

    An opaque content identifier for the application. The value of this identifier depends on the particular system used to provide the decryption key.

  • contentIdentifier:

    An opaque identifier for the content. The value of this identifier depends on the particular system used to provide the decryption key.

  • options:

    Additional information necessary to obtain the key, or nil if no additional information is required.

Return Value

The key request data that must be transmitted to the key vendor to obtain the content key.

Topics

Configuration options

See Also

Accessing the request data