NAME

OMA::Download::DRM::DRMCF - Perl extension for OMA DRM Content Format implementation

SYNOPSIS

use OMA::Download::DRM::DRMCF;
my $cf = OMA::Download::DRM::DRMCF->new(
    ### Mandatory
    'key'                 => 'im9aazbjfgsorehf',
    'data'                => \$data,
    'content-type'        => 'image/jpeg',
    'content-uri'         => 'cid:image239872@foo.bar',
    'Rights-Issuer'       => 'http://foo.bar/pics/image239872',
    'Content-Name'        => '"Kilimanjaro Uhuru Peak"',
    
    ### Not Mandatory
    'Content-Description' => 'Nice image from Kilimanjaro',
    'Content-Vendor'      => 'IT Development Belgium',
    'Icon-URI'            => 'http://foo.bar/icon.gif',
);

my $res = $cf->packit;

DESCRIPTION

Pack & encrypt OMA DRM content objects

SEE ALSO

* OMA-Download-DRMCF-V1_0-20040615-A

* WAP-230-WSP-20010705-a

* RFC2760

* Crypt::Rijndael

AUTHOR

Bernard Nauwelaerts, <bpn#it-development%be>

COPYRIGHT AND LICENSE

Copyright (C) 2006 by Bernard Nauwelaerts

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available.

In all cases this copyright notice must remain intact.