Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

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

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

NAME
RDF::Crypt::Role::DoesEncrypt - scrambling methods DESCRIPTION
Object Methods "encrypt_model($model)" Returns an encrypted serialisation of the data. The encryption works by serialising the data as RDF/XML, then encrypting it with "encrypt_text". "send_model_by_email($model, \%opts)" This method only works on objects that were constructed using "new_from_webid". Encrypts the model for the holder of the WebID, and sends it to an address specified in the WebID profile using foaf:mbox. Options: o sendmail - hashref of options for Mail::Transport::Sendmail. The mere presence of this hashref will trigger Mail::Transport::Sendmail to be used as the delivery method. o smtp - hashref of options for Mail::Transport::SMTP. The mere presence of this hashref will trigger Mail::Transport::SMTP to be used as the delivery method. o from - email address for the message to come from. o subject - message subject. o filename - filename for encrypted attachment. o headers - hashref of additional mail headers. Returns a the message's Message-ID, or undef if unsuccessful. "encrypt_text($str)" Encrypts a literal string which may or may not have anything to do with RDF. The return value is a base64-encoded string. The base64-decoded value consists of:(1) an initialisation vector, sixteen bytes shorter than the size of the key; (2) a 16-bit big-endian signed integer indicating the length of padding which was added to the payload of the message during encryption; (3) the payload, encrypted using cipher-block chaining with OAEP, with block length sixteen bytes shorter than the key size. These three parts are concatenated together in that order. Required Methods This role does not implement these methods, but requires classes to implement them instead: "encrypt_bytes($str)" Scrambles an octet string. SEE ALSO
RDF::Crypt, RDF::Crypt::Encrypter, RDF::Crypt::Decrypter. 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::DoesEncrypt(3pm)

Check Out this Related Man Page

RDF::Closure::Engine(3pm)				User Contributed Perl Documentation				 RDF::Closure::Engine(3pm)

NAME
RDF::Closure::Engine - an engine for inferring triples DESCRIPTION
Constructor o "new($regime, $model, @arguments)" Instantiates an inference engine. This: RDF::Closure::Engine->new('RDFS', $model, @args); is just a shortcut for: RDF::Closure::Engine::RDFS->new($model, @args); Though in the former, 'RDFS' is treated case-insensitively. $model must be an RDF::Trine::Model which the engine will read its input from and write its output to. Methods o "entailment_regime" Returns a URI string identifying the type of inference implemented by the engine, or undef. o "graph" Returns the RDF::Trine::Model the engine is operating on. o "closure( [ $is_subsequent ] )" Adds any new triples to the graph that can be inferred. If $is_subsequent is true, then skips axioms. o "errors" Returns a list of consistency violations found so far. o "reset" Removes all inferred triples from the graph. Class Method o "engines" Return a list of engines installed, e.g. 'RDF::Closure::Engine::RDFS'. SEE ALSO
RDF::Closure, RDF::Closure::Engine::RDFS, RDF::Closure::Engine::OWL2RL, RDF::Closure::Engine::OWL2Plus. <http://www.perlrdf.org/>. AUTHOR
Toby Inkster <tobyink@cpan.org>. COPYRIGHT
Copyright 2011-2012 Toby Inkster This library is free software; you can redistribute it and/or modify it under any of the following licences: o The Artistic License 1.0 <http://www.perlfoundation.org/artistic_license_1_0>. o The GNU General Public License Version 1 http://www.gnu.org/licenses/old-licenses/gpl-1.0.txt <http://www.gnu.org/licenses/old- licenses/gpl-1.0.txt>, or (at your option) any later version. o The W3C Software Notice and License http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 <http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231>. o The Clarified Artistic License <http://www.ncftp.com/ncftp/doc/LICENSE.txt>. 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-28 RDF::Closure::Engine(3pm)
Man Page