NAME

OMA::Download::DRM::DRMREL - Perl extension for OMA rights expression

SYNOPSIS

use OMA::Download::DRM::DRMREL;

my $rel = OMA::Download::DRM::DRMREL->new('XML' || 'WBXML',
    
    ### Mandatory
    'key'                 => 'im9aazbjfgsorehf',
    'uid'                 => 'cid:image239872@foo.bar',
    'permission'          => 'display',
    
    ### Not Mandatory
    'count'               => 3,        
);

my $res = $rel->packit;

DESCRIPTION

OMA DRM Rights Expression Language implementation

This is partial implementation - Need to be completed

TODO

Use more than one permission, and other constraints than count

SEE ALSO

* OMA-Download-DRMREL-V1_0-20040615-A

* OMA::Download::DRM::DRMREL::XML

* OMA::Download::DRM::DRMREL::WBXML

AUTHOR

Bernard Nauwelaerts, <bpn@localhost>

COPYRIGHT AND LICENSE

Copyright (C) 2006 by Bernard Nauwelaerts

THIS IS UNPUBLISHED PROPRIETARY SOFTWARE

This code is licenced to run ONLY on author's computers. Utilisation, selling, distribution, modification or detention of this code are strictly prohibited.

This enfringe commercial secrets and intellectual property laws.

In all cases this copyright notice must remain intact.