1Crypt::DSA::Signature(3U)ser Contributed Perl DocumentatiCornypt::DSA::Signature(3)
2
3
4

NAME

6       Crypt::DSA::Signature - DSA signature object
7

SYNOPSIS

9           use Crypt::DSA::Signature;
10           my $sig = Crypt::DSA::Signature->new;
11
12           $sig->r($r);
13           $sig->s($s);
14

DESCRIPTION

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

USAGE

21   Crypt::DSA::Signature->new( %options )
22       Creates a new signature object, and optionally initializes it with the
23       information in %options, which can contain:
24
25       ยท   Content
26
27           An ASN.1-encoded string representing the DSA signature. In ASN.1
28           notation, this looks like:
29
30               SEQUENCE {
31                   r INTEGER,
32                   s INTEGER
33               }
34
35           If Content is provided, new will automatically call the deserialize
36           method to parse the content, and set the r and s methods on the
37           resulting Crypt::DSA::Signature object.
38
39   $sig->serialize
40       Serializes the signature object $sig into the format described above:
41       an ASN.1-encoded representation of the signature, using the ASN.1
42       syntax above.
43

AUTHOR & COPYRIGHTS

45       Please see the Crypt::DSA manpage for author, copyright, and license
46       information.
47
48
49
50perl v5.28.0                      2011-06-17          Crypt::DSA::Signature(3)
Impressum