NAME
OMA::Download::DRM::REL - Perl extension for packing REL objects according to the OMA DRM 1.0 specification.
SYNOPSIS
use OMA::Download::DRM::REL;
my $rel = OMA::Download::DRM::REL->new('XML' || 'WBXML',
### Mandatory
'uid' => 'cid:image239872@example.com',
'permission' => 'display', # Can be 'display', 'play', 'execute' or 'print'
### Optional
'key' => 'im9aazbjfgsorehf',
'count' => 3
);
my $res = $rel->packit;
DESCRIPTION
Open Mobile Alliance Digital Rights Management Rights Expression Language implementation
This is a partial implementation - Needs to be completed
PROPERTIES
- uid - Unique identifier
- permission - Permission : can be 'display', 'play', 'execute' or 'print'
- count - Download Name
METHODS
TODO
Use more than one permission, and other constraints than count
SEE ALSO
* OMA-Download-REL-V1_0-20040615-A
* OMA::Download::DRM::REL::XML
* OMA::Download::DRM::REL::WBXML
AUTHOR
Bernard Nauwelaerts, <bpn@localhost>
COPYRIGHT AND LICENSE
Copyright (C) 2006 by Bernard Nauwelaerts, IT Development Belgium
Released under GPL licence.