Konfidi::Client - Interact with a Konfidi TrustServer


Konfidi-Client documentation  | view source Contained in the Konfidi-Client distribution.

Index


NAME

Top

Konfidi::Client - Interact with a Konfidi TrustServer

DESCRIPTION

Top

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

Top

Version 1.0.4

SYNOPSIS

Top

    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

METHODS

Top

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. 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

AUTHOR

Top

Dave Brondsema, <dave at brondsema.net>

BUGS

Top

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

Top

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

ACKNOWLEDGEMENTS

Top

COPYRIGHT & LICENSE

Top


Konfidi-Client documentation  | view source Contained in the Konfidi-Client distribution.