Signature

NAME HTTP::Signature - Implemetation of HTTP::Signature specification

SYNOPSIS

For signing a request:

use HTTP::Signature;
    use HTTP::UserAgent;
    use HTTP::Request;
my $req = HTTP::Request.new(
        :GET('http://www.example.com/path')
    );
my $signer = HTTP::Signature.new(
        keyid       => 'Test',
        secret      => 'MySuperSecretKey',
        algorithm   => 'hmac-sha256',
    );
    my $signed-request = $signer->sign-request( $req );
    my $ua = HTTP::UserAgent.new;
    my $response = $ua.request( $signed-request );

For verifying a request

use HTTP::Signature;
my $signer = HTTP::Signature.new(
        secret      => 'MySuperSecretKey',
    );
    if $signer.verify-request( $req ) {
        ...
    }

DESCRIPTION ALPHA Implementation of http signature as defined in IETFF draft version 3

METHODS

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.