Extended Content Encryption Object lets authors protect content by * using the Windows Media Rights Manager 7 Software Development Kit (SDK). * * @package php-reader * @subpackage ASF * @author Sven Vollbehr * @copyright Copyright (c) 2008 The PHP Reader Project Workgroup * @license http://code.google.com/p/php-reader/wiki/License New BSD License * @version $Rev: 108 $ */ final class ASF_Object_ExtendedContentEncryption extends ASF_Object { /** @var string */ private $_data; /** * Constructs the class with given parameters and reads object related data * from the ASF file. * * @param Reader $reader The reader object. * @param Array $options The options array. */ public function __construct($reader, &$options = array()) { parent::__construct($reader, $options); $dataSize = $this->_reader->readUInt32LE(); $this->_data = $this->_reader->read($dataSize); } /** * Returns the array of bytes required by the DRM client to manipulate the * protected content. * * @return string */ public function getData() { return $this->_data; } }