NAME
Konfidi::Client - Interact with a Konfidi TrustServer
DESCRIPTION
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
Version 1.0.1
SYNOPSIS
use Konfidi::Client;
use Error(:try);
my $k = Konfidi::Client->new();
$k->server('http://test-server.konfidi.org');
try {
$response = $k->query($truster_40char_pgp_fingerprint, $trusted_40char_pgp_fingerprint, 'internet-communication');
} catch Konfidi::Client::Error with {
my $E = shift;
die "Couldn't query the trustserver: $E";
};
...
See Error for error handling documentation
METHODS
new()
Create a new Konfidi::Client
server()
Get or set the server to use. Required. For example: http://test-server.konfidi.org
strategy()
Get or set which trust propogation strategy to use. Default: Multiplicative2
pgpquery()
Get or set whether to verify a pgp connection (0/1) default 0
query($source, $sink, $topic)
Query the Konfidi Trustserver, using the default or set server
, strategy
, and pgpquery
values. $source
and $sink
must be 40 character long OpenPGP fingerprint identifiers. The only topic currently in use is 'internet-communication'
. Returns a Konfidi::Response or throws a Konfidi::Client::Error upon error
AUTHOR
Dave Brondsema, <dave at brondsema.net>
BUGS
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.
SUPPORT
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
CPAN Ratings
RT: CPAN's request tracker
Search CPAN
ACKNOWLEDGEMENTS
COPYRIGHT & LICENSE
Copyright 2006 Dave Brondsema
This program is released under the following license: Apache License, Version 2.0