SYNOPSIS

  use DRM::FL;
  $fl = DRM::FL->decode($content);

DESCRIPTION

The DRM::FL class allows you to encode or decode DRM Forward Lock files.

The following methods are available:

DRM::FL->decode( [$content] )

Construct a new DRM::FL and optionaly initialise its value from a binary string.

$fl->encode

Return the binary string representing a DRM::FL object.

$fl->get_content

Return a DRM FL file's clear content.

$fl->set_content($clear)

Set a DRM FL file's data from the clear data.

$oldvalue = $fl->boundary( [$newvalue] )

Get or set a DRM FL file's boundary.

$oldvalue = $fl->content_type( [$newvalue] )

Get or set a DRM FL file's Content-Type.

$oldvalue = $fl->content_transfer_encoding( [$newvalue] )

Get or set a DRM FL file's Content-Transfer-Encoding.

$fl->info

Return a string containing information about a DRM SD file.

Copyright

umts-tools is copyright© 2004-2006 Jeremy Lainé. This software is distributed under the terms of the GNU General Public License (GPL).