Scroll to navigation

RDF::Crypt::Encrypter(3pm) User Contributed Perl Documentation RDF::Crypt::Encrypter(3pm)
 

NAME

RDF::Crypt::Encrypter - encrypts RDF graphs

SYNOPSIS

 use 5.010;
 use RDF::Crypt::Encrypter;
 use RDF::TrineX::Functions qw< parse >;
 
 my $enc = RDF::Crypt::Encrypter->new_from_webid(
    'http://www.example.com/people/alice#me'
 );
 
 my $graph     = parse '/path/to/secret.ttl';
 my $scrambled = $enc->encrypt_model($graph);

DESCRIPTION

An Encrypter object is created using an RSA public key. The object can be used to encrypt an RDF graph for a recipient.

Roles

RDF::Crypt::Role::WithPublicKeys
RDF::Crypt::Role::DoesEncrypt
RDF::Crypt::Role::ToString

SEE ALSO

RDF::Crypt, RDF::Crypt::Decrypter.

BUGS

Please report any bugs to <http://rt.cpan.org/>.

AUTHOR

Toby Inkster <tobyink@cpan.org>.

COPYRIGHT

Copyright 2010, 2012 Toby Inkster
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

DISCLAIMER OF WARRANTIES

THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
2012-06-25 perl v5.14.2