Query: rdf::crypt::signer
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
RDF::Crypt::Signer(3pm) User Contributed Perl Documentation RDF::Crypt::Signer(3pm)NAMERDF::Crypt::Signer - signs RDF graphs with RSASYNOPSISuse 5.010; use File::Slurp qw< slurp >; use RDF::Crypt::Signer; use RDF::TrineX::Functions qw< parse >; my $sign = RDF::Crypt::Signer->new_from_file( '/path/to/private-key.pem' ); my $raw = slurp '/path/to/important.ttl'; my $graph = parse '/path/to/important.ttl'; my $detached_sig = $sign->sign_model($graph); my $turtle_with_embedded_signature = $sign->sign_embed_turtle($raw);DESCRIPTIONA Signer object is created using an RSA private key. The object can be used to sign multiple RDF graphs. The signature should be independent of the RDF serialisation used, so that Turtle and RDF/XML files containing equivalent triples should generate the same signature. RDF::Crypt::Signer can also be used to verify signatures using the private key of the signer. Roles o RDF::Crypt::Role::WithPrivateKey o RDF::Crypt::Role::DoesSign o RDF::Crypt::Role::DoesVerify o RDF::Crypt::Role::StandardSignatureMarkers o RDF::Crypt::Role::ToStringSEE ALSORDF::Crypt, RDF::Crypt::Verifier.BUGSPlease report any bugs to <http://rt.cpan.org/>.AUTHORToby Inkster <tobyink@cpan.org>.COPYRIGHTCopyright 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 WARRANTIESTHIS 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::Signer(3pm)
Similar Topics in the Unix Linux Community |
---|
Greengrass 0.3 (Default branch) |
morla 0.15 (Default branch) |
Crypt command |
Building Time Aware Applications in RDF |
Samizdat 0.6.2 (Default branch) |