RDF::Crypt::Decrypter(3) decrypts encrypted RDF graphs

SYNOPSIS


use 5.010;
use File::Slurp qw< slurp >;
use RDF::Crypt::Decrypter;

my $dec = RDF::Crypt::Decrypter->new_from_file(
'/path/to/private-key.pem'
);

my $scrambled = slurp '/path/to/secret.rdf-crypt';
my $graph = $dec->decrypt_model($scrambled);

DESCRIPTION

A Decrypter object is created using an RSA private key.

RDF::Crypt::Decrypter can also also be used to encrypt graphs for yourself, using just your private key.

Roles

  • RDF::Crypt::Role::WithPublicKeys
  • RDF::Crypt::Role::DoesDecrypt
  • RDF::Crypt::Role::DoesEncrypt
  • RDF::Crypt::Role::ToString

BUGS

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

AUTHOR

Toby Inkster <[email protected]>.

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.