{
    "mode": "perldoc",
    "parameter": "Crypt::DSA::Signature",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Crypt%3A%3ADSA%3A%3ASignature/json",
    "generated": "2026-10-08T12:45:34Z",
    "synopsis": "use Crypt::DSA::Signature;\nmy $sig = Crypt::DSA::Signature->new;\n$sig->r($r);\n$sig->s($s);",
    "sections": {
        "NAME": {
            "content": "Crypt::DSA::Signature - DSA signature object\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Crypt::DSA::Signature;\nmy $sig = Crypt::DSA::Signature->new;\n\n$sig->r($r);\n$sig->s($s);\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "*Crypt::DSA::Signature* represents a DSA signature. It has 2 methods, *r* and *s*, which are the\nbig number representations of the 2 pieces of the DSA signature.\n",
            "subsections": []
        },
        "USAGE": {
            "content": "Crypt::DSA::Signature->new( %options )\nCreates a new signature object, and optionally initializes it with the information in\n*%options*, which can contain:\n\n*   Content\n\nAn ASN.1-encoded string representing the DSA signature. In ASN.1 notation, this looks like:\n\nSEQUENCE {\nr INTEGER,\ns INTEGER\n}\n\nIf *Content* is provided, *new* will automatically call the *deserialize* method to parse\nthe content, and set the *r* and *s* methods on the resulting *Crypt::DSA::Signature*\nobject.\n\n$sig->serialize\nSerializes the signature object *$sig* into the format described above: an ASN.1-encoded\nrepresentation of the signature, using the ASN.1 syntax above.\n\nAUTHOR & COPYRIGHTS\nPlease see the Crypt::DSA manpage for author, copyright, and license information.\n",
            "subsections": []
        }
    },
    "summary": "Crypt::DSA::Signature - DSA signature object",
    "flags": [],
    "examples": [],
    "see_also": []
}