Konfidi::Client - Interact with a Konfidi TrustServer


NAME

Konfidi::Client - Interact with a Konfidi TrustServer

Back to Top


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

Back to Top


VERSION

Version 1.0.3

Back to Top


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 the Error manpage for error handling documentation

Back to Top


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 the Konfidi::Response manpage or throws a the Konfidi::Client::Error manpage upon error

Back to Top


AUTHOR

Dave Brondsema, <dave at brondsema.net>

Back to Top


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. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

Back to Top


SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc Konfidi::Client

You can also look for information at:

Back to Top


ACKNOWLEDGEMENTS

Back to Top


COPYRIGHT & LICENSE

Copyright 2006 Dave Brondsema

This program is released under the following license: Apache License, Version 2.0

Back to Top

 Konfidi::Client - Interact with a Konfidi TrustServer