SIMPLE SOLUTIONS

RDF::CRYPT::VERIFIER - reference manual online

Verifies signed RDF graphs.

Chapter
2012-06-25
RDF::Crypt::Verifier(3pm)      User Contributed Perl Documentation      RDF::Crypt::Verifier(3pm)

NAME RDF::Crypt::Verifier - verifies signed RDF graphs
SYNOPSIS use 5.010; use File::Slurp qw< slurp >; use RDF::Crypt::Verifier; use RDF::TrineX::Functions qw< parse >; my $verify = RDF::Crypt::Verifier->new_from_file( '/path/to/public-key.pem' ); my $graph = parse '/path/to/important.ttl'; my $signature = slurp '/path/to/important.ttl.sig'; say "graph is trusted" if $v->verify_model($graph, $signature);
DESCRIPTION A Verifier object is created using an RSA public key. The object can be used to verify signatures for multiple RDF graphs. Roles · RDF::Crypt::Role::WithPublicKeys · RDF::Crypt::Role::DoesVerify · RDF::Crypt::Role::StandardSignatureMarkers · RDF::Crypt::Role::ToString
SEE ALSO RDF::Crypt, RDF::Crypt::Signer.
BUGS Please report any bugs to <http://rt.cpan.org/>.
AUTHOR Toby Inkster <@cpan.org>.
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.
perl v5.14.2 2012-06-25 RDF::Crypt::Verifier(3pm)