Konfidi::Client - Interact with a Konfidi TrustServer
Konfidi is a trust framework that uses topical trust values from a social network of authenticated people. When you see a document (e.g email, webpage) from someone you do not know, but he/she is in the network, Konfidi will compute an inferred trust value for you. For more information, see http://konfidi.org
Version 1.0.4
use Konfidi::Client; use Error qw(:try); my $k = Konfidi::Client->new(); $k->server('http://test-server.konfidi.org'); try { my $response = $k->query($truster_40char_pgp_fingerprint, $trusted_40char_pgp_fingerprint, 'http://www.konfidi.org/ns/topics/0.0#internet-communication'); } catch Konfidi::Client::Error with { my $E = shift; die "Couldn't query the trustserver: $E"; }; ...
See Error for error handling documentation
new()
Create a new Konfidi::Client
Konfidi::Client
server()
Get or set the server to use. Required. For example: http://test-server.konfidi.org
http://test-server.konfidi.org
strategy()
Get or set which trust propogation strategy to use. No default (server decides)
query($source, $sink, $topic)
Query the Konfidi Trustserver, using the default or set server and strategy values. $source and $sink must be 40 character long OpenPGP fingerprint identifiers. The only topic currently in use is 'http://www.konfidi.org/ns/topics/0.0#internet-communication'. Returns a Konfidi::Response or throws a Konfidi::Client::Error upon error
server
strategy
$source
$sink
'http://www.konfidi.org/ns/topics/0.0#internet-communication'
Dave Brondsema, <dave at brondsema.net>
<dave at brondsema.net>
Please report any bugs or feature requests to bug-konfidi-client at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Konfidi. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-konfidi-client at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Konfidi::Client
You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Konfidi
CPAN Ratings
http://cpanratings.perl.org/d/Konfidi
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Konfidi
Search CPAN
http://search.cpan.org/dist/Konfidi
Copyright 2006 Dave Brondsema
This program is released under the following license: Apache License, Version 2.0
To install Konfidi::Client, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Konfidi::Client
CPAN shell
perl -MCPAN -e shell install Konfidi::Client
For more information on module installation, please visit the detailed CPAN module installation guide.