Adam Kennedy > Crypt-DSA-1.17 > Crypt::DSA::Signature

Download:
Crypt-DSA-1.17.tar.gz

Dependencies

Annotate this POD (1)

CPAN RT

New  12
Open  8
View/Report Bugs
Module Version: 1.17   Source  

NAME ^

Crypt::DSA::Signature - DSA signature object

SYNOPSIS ^

    use Crypt::DSA::Signature;
    my $sig = Crypt::DSA::Signature->new;

    $sig->r($r);
    $sig->s($s);

DESCRIPTION ^

Crypt::DSA::Signature represents a DSA signature. It has 2 methods, r and s, which are the big number representations of the 2 pieces of the DSA signature.

USAGE ^

Crypt::DSA::Signature->new( %options )

Creates a new signature object, and optionally initializes it with the information in %options, which can contain:

$sig->serialize

Serializes the signature object $sig into the format described above: an ASN.1-encoded representation of the signature, using the ASN.1 syntax above.

AUTHOR & COPYRIGHTS ^

Please see the Crypt::DSA manpage for author, copyright, and license information.

syntax highlighting: