NAME

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

SYNOPSIS

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

my $res = $cf->packit;

DESCRIPTION

Pack & encrypt OMA DRM content objects

SEE ALSO

* OMA-Download-CF-V1_0-20040615-A

* WAP-230-WSP-20010705-a

* RFC2760

* Crypt::Rijndael

AUTHOR

Bernard Nauwelaerts, <bpgn@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2006 by Bernard Nauwelaerts, IT Development Belgium

Released under GPL licence