Konfidi::Response - a Konfidi TrustServer response


NAME

Konfidi::Response - a Konfidi TrustServer response

Back to Top


DESCRIPTION

A hash of values as the response from querying the Konfidi TrustServer. The 'Rating' value is used when a Response is used in a numerical context.

Back to Top


VERSION

Version 1.0.3

Back to Top


SYNOPSIS

    use Konfidi::Client;
    use Konfidi::Response;
    use Error(: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, 'internet-communication');
    } catch Konfidi::Client::Error with {
        my $E = shift;
        die "Couldn't query the trustserver: $E";
    };
    
    if ($response > 0.5) {
        ...
    }
    $response->{'Subject'};
    $response->{'Error'};
    ...

Back to Top


METHODS

new()

Back to Top


SEE ALSO

the Konfidi::Client manpage, the Konfidi::Client::Error manpage

Back to Top

 Konfidi::Response - a Konfidi TrustServer response