Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

rdf::crypt::signer(3pm) [debian man page]

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

NAME
RDF::Crypt::Signer - signs RDF graphs with RSA SYNOPSIS
use 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); DESCRIPTION
A 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::ToString SEE ALSO
RDF::Crypt, RDF::Crypt::Verifier. 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. perl v5.14.2 2012-06-25 RDF::Crypt::Signer(3pm)

Check Out this Related Man Page

RDF::Crypt::Role::WithPrivateKey(3pm)			User Contributed Perl Documentation		     RDF::Crypt::Role::WithPrivateKey(3pm)

NAME
RDF::Crypt::Role::WithPublicKeys - role for objects that have public keys DESCRIPTION
Attribute "private_key" Read only; Crypt::OpenSSL::RSA; required. Additional Constructor Methods "new_from_file($file)" Given a filename containing a DER or PEM encoded RSA private key, constructs an object. "new_from_string($str)" Given a string containing a DER or PEM encoded RSA private key, constructs an object. "new_from_privkey($key)" Given a Crypt::OpenSSL::RSA private key object, constructs an object. SEE ALSO
RDF::Crypt, RDF::Crypt::Decrypter, 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. perl v5.14.2 2012-06-25 RDF::Crypt::Role::WithPrivateKey(3pm)
Man Page

We Also Found This Discussion For You

1. Shell Programming and Scripting

Crypt command

Hi all, I want the source code similar to crypt command in unix. Thanks for the reply (4 Replies)
Discussion started by: ratna
4 Replies