Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]


CAF Streaming Agent overview

[Top]


Purpose

CAF Streaming Agents are ECOM plug-ins that are designed to support streaming digital rights management (DRM) solutions in the Content Access Framework (CAF). DRM protection for streamed data differs significantly from that for locally stored data for the following reasons:

This document describes how Symbian OS licensees and partners write and use CAF Streaming Agents. Licensees must write CAF Streaming Agents to allow streaming functionality.

[Top]


Key concepts

CAF Streaming Agent

A Content Access Framework (CAF) agent that is designed to support streaming DRM solutions.

CAF (Streaming)

The CAF streaming framework provides a common interface for applications to access streamed data.

Key stream

A stream of data and meta-data necessary for decryption of encrypted media streams.

Data stream

A sequence of digitally encrypted packets of data, in this context media data.

Short-term key

A key that decrypts data packets.

Long-term key

A key that encrypts short-term keys.

Cryptographic context

Key data together with its corresponding meta-data, such as algorithms and usage parameters.

Rights Object

A file that usually includes long-term keys, usage rights such as the dates for which the subscription has been purchased and post-acquisition rights.

Session Description Protocol (SDP)

The protocol that specifies the properties of a streaming media session. Typical data included in the protocol is the audio and video encoding type, addresses for delivering the respective streams, protection of the streamed data etc.

[Top]


Overview

The CAF streaming framework is designed to keep the key stream and data stream separate. The framework is designed for standards with separate key streams, which includes DVB-H and OMA DRM BCAST (DRM and SmartCard profiles).

The CAF Streaming Agent is designed to manage the key stream. As shown in Figure 1 below, the CAF Streaming Agent does not participate in the processing of the data stream.

Figure 1: Overview diagram of CAF Stream...


Figure 1: Overview diagram of CAF Streaming Agent's role in process

A CAF Streaming Agent needs to receive a short-term key. As shown in Figure 2, the CAF Streaming Agent pushes the cryptographic context to modules responsible for the implementation of the data stream.

As noted above, the CAF Streaming Agent does not participate in the processing of the data stream, so does not have to ensure real-time processing. The CAF Streaming Agent and entities in the data processing stack have to be assured and maintained so that the CAF Streaming Agent will be able to set the cryptographic context (short-term key and relevant algorithms).

Figure 2: Main entities class diagram


Figure 2: Main entities class diagram

The above class diagram shows the key classes for CAF streaming. The CAF Streaming Agent plug-in must implement CAgentKeyStreamDecoder. The DVB-H middleware, for example the Multimedia Framework controller (MMF controller), needs to use CKeyStreamDecoder. These two classes are described below.

Class Name Description

CAgentKeyStreamDecoder

Pure virtual base class for a CAF Streaming Agent

CKeyStreamDecoder

Class for instantiating the key stream decoder

As noted above, the CAF streaming framework keeps the key stream and data stream separate. Streaming DRM standards rely upon existing protocols to protect the actual data and define how these standards should be used. For example, one of the profiles for DVB-H SPP defines that the TV broadcast may be encrypted with AES-CTR at the IPSec layer. The bulk of the standard specification details how the cryptographic context shall be set for, currently, IPSec (with the possibility of SRTP and ISMACryp in the future) and how the actual purchase and protection model interfaces with the content/service decryption and authentication.

[Top]


Typical uses

A mobile device user:

Post-acquisition rights may be to:

As shown in Figure 3 below, cases with post-acquisition rights revert to the regular non-streamed CAF agent once post-acquisition rights have been checked.

Figure 3: Post-acquisition sequence diag...


Figure 3: Post-acquisition sequence diagram

[Top]


See also

For related information, see: