NAME
RDF::Crypt::Role::DoesVerify - verification methods
DESCRIPTION
Class Methods
verify_manifest($manifest)
-
Given a manifest created by the Signer, attempts to verify each signature in it. Returns a list of RDF::Crypt::ManifestItem objects.
May also be called as an object method in which case it ignores the manifest's information about who signed each thing, and instead assumes that the current object's keys are sufficient to verify the signature.
Object Methods
verify_model($model, $signature)
-
Returns true if verification was successful; false but defined if verification failed; undefined if verification was not attempted for some reason.
verify_embedded_turtle($turtle, $baseuri)
-
Counterpart to
sign_embed_turtle
from RDF::Crypt::Role::DoesSign. verify_embedded_rdfxml($xml, $baseuri)
-
Counterpart to
sign_embed_rdfxml
from RDF::Crypt::Role::DoesSign. verify_embedded_rdfa($html, $baseuri, \%config)
-
Counterpart to
sign_embed_rdfa
from RDF::Crypt::Role::DoesSign. verify_text($str, $signature)
-
Verifies a character string which may or may not have anything to do with RDF.
Required Methods
This role does not implement these methods, but requires classes to implement them instead:
verify_bytes($str, $signature)
-
Verifies that an octet string satisfies the signature.
SIG_MARK
-
Returns a string used as a marker for signatures within serialised RDF.
SEE ALSO
RDF::Crypt, RDF::Crypt::Verifier, RDF::Crypt::Signer.
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.