{
    "content": [
        {
            "type": "text",
            "text": "# openssl-dsaparam(1ssl) (man)\n\n**Summary:** openssl-dsaparam - DSA parameter manipulation and generation\n\n**Synopsis:** openssl dsaparam [-help] [-inform DER|PEM] [-outform DER|PEM] [-in filename] [-out filename]\n[-noout] [-text] [-genkey] [-verbose] [-rand files] [-writerand file] [-engine id] [-provider\nname] [-provider-path path] [-propquery propq] [numbits]\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| — | — | — | Print out a usage message. |\n| — | — | — | The DSA parameters input format; unspecified by default. See openssl-format-options(1) for details. |\n| — | — | — | The DSA parameters output format; the default is PEM. See openssl-format-options(1) for details. Parameters are a sequen |\n| — | — | — | This specifies the input filename to read parameters from or standard input if this option is not specified. If the numb |\n| — | — | — | This specifies the output filename parameters to. Standard output is used if this option is not present. The output file |\n| — | — | — | This option inhibits the output of the encoded version of the parameters. |\n| — | — | — | This option prints out the DSA parameters in human readable form. |\n| — | — | — | This option will generate a DSA either using the specified or generated parameters. |\n| — | — | — | Print extra details about the operations being performed. |\n| — | — | — | See \"Random State Options\" in openssl(1) for details. |\n| — | — | — | See \"Engine Options\" in openssl(1). This option is deprecated. numbits This option specifies that a parameter set should |\n| — | — | — |  |\n| — | — | — |  |\n| — | — | — | See \"Provider Options\" in openssl(1), provider(7), and property(7). |\n\n## See Also\n\n- openssl(1)\n- openssl-pkeyparam(1)\n- openssl-gendsa(1)\n- openssl-dsa(1)\n- openssl-genrsa(1)\n- openssl-rsa(1)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (4 lines)\n- **DESCRIPTION** (5 lines)\n- **OPTIONS** (1 lines) — 14 subsections\n  - -help (2 lines)\n  - -inform (3 lines)\n  - -outform (6 lines)\n  - -in (4 lines)\n  - -out (3 lines)\n  - -noout (2 lines)\n  - -text (2 lines)\n  - -genkey (2 lines)\n  - -verbose (2 lines)\n  - -rand -writerand (2 lines)\n  - -engine (6 lines)\n  - -provider (1 lines)\n  - -provider-path (1 lines)\n  - -propquery (2 lines)\n- **SEE ALSO** (3 lines)\n- **HISTORY** (4 lines)\n- **COPYRIGHT** (9 lines)\n\n## Full Content\n\n### NAME\n\nopenssl-dsaparam - DSA parameter manipulation and generation\n\n### SYNOPSIS\n\nopenssl dsaparam [-help] [-inform DER|PEM] [-outform DER|PEM] [-in filename] [-out filename]\n[-noout] [-text] [-genkey] [-verbose] [-rand files] [-writerand file] [-engine id] [-provider\nname] [-provider-path path] [-propquery propq] [numbits]\n\n### DESCRIPTION\n\nThis command is used to manipulate or generate DSA parameter files.\n\nDSA parameter generation can be a slow process and as a result the same set of DSA parameters\nis often used to generate several distinct keys.\n\n### OPTIONS\n\n#### -help\n\nPrint out a usage message.\n\n#### -inform\n\nThe DSA parameters input format; unspecified by default.  See openssl-format-options(1)\nfor details.\n\n#### -outform\n\nThe DSA parameters output format; the default is PEM.  See openssl-format-options(1) for\ndetails.\n\nParameters are a sequence of ASN.1 INTEGERs: p, q, and g.  This is compatible with RFC\n2459 DSS-Parms structure.\n\n#### -in\n\nThis specifies the input filename to read parameters from or standard input if this\noption is not specified. If the numbits parameter is included then this option will be\nignored.\n\n#### -out\n\nThis specifies the output filename parameters to. Standard output is used if this option\nis not present. The output filename should not be the same as the input filename.\n\n#### -noout\n\nThis option inhibits the output of the encoded version of the parameters.\n\n#### -text\n\nThis option prints out the DSA parameters in human readable form.\n\n#### -genkey\n\nThis option will generate a DSA either using the specified or generated parameters.\n\n#### -verbose\n\nPrint extra details about the operations being performed.\n\n#### -rand -writerand\n\nSee \"Random State Options\" in openssl(1) for details.\n\n#### -engine\n\nSee \"Engine Options\" in openssl(1).  This option is deprecated.\n\nnumbits\nThis option specifies that a parameter set should be generated of size numbits. It must\nbe the last option. If this option is included then the input file (if any) is ignored.\n\n#### -provider\n\n#### -provider-path\n\n#### -propquery\n\nSee \"Provider Options\" in openssl(1), provider(7), and property(7).\n\n### SEE ALSO\n\nopenssl(1), openssl-pkeyparam(1), openssl-gendsa(1), openssl-dsa(1), openssl-genrsa(1),\nopenssl-rsa(1)\n\n### HISTORY\n\nThe -engine option was deprecated in OpenSSL 3.0.\n\nThe -C option was removed in OpenSSL 3.0.\n\n### COPYRIGHT\n\nCopyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.\n\nLicensed under the Apache License 2.0 (the \"License\").  You may not use this file except in\ncompliance with the License.  You can obtain a copy in the file LICENSE in the source\ndistribution or at <https://www.openssl.org/source/license.html>.\n\n\n\n3.0.2                                        2026-04-07                       OPENSSL-DSAPARAM(1SSL)\n\n"
        }
    ],
    "structuredContent": {
        "command": "openssl-dsaparam",
        "section": "1ssl",
        "mode": "man",
        "summary": "openssl-dsaparam - DSA parameter manipulation and generation",
        "synopsis": "openssl dsaparam [-help] [-inform DER|PEM] [-outform DER|PEM] [-in filename] [-out filename]\n[-noout] [-text] [-genkey] [-verbose] [-rand files] [-writerand file] [-engine id] [-provider\nname] [-provider-path path] [-propquery propq] [numbits]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Print out a usage message."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "The DSA parameters input format; unspecified by default. See openssl-format-options(1) for details."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "The DSA parameters output format; the default is PEM. See openssl-format-options(1) for details. Parameters are a sequence of ASN.1 INTEGERs: p, q, and g. This is compatible with RFC 2459 DSS-Parms structure."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "This specifies the input filename to read parameters from or standard input if this option is not specified. If the numbits parameter is included then this option will be ignored."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "This specifies the output filename parameters to. Standard output is used if this option is not present. The output filename should not be the same as the input filename."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "This option inhibits the output of the encoded version of the parameters."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "This option prints out the DSA parameters in human readable form."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "This option will generate a DSA either using the specified or generated parameters."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Print extra details about the operations being performed."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "See \"Random State Options\" in openssl(1) for details."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "See \"Engine Options\" in openssl(1). This option is deprecated. numbits This option specifies that a parameter set should be generated of size numbits. It must be the last option. If this option is included then the input file (if any) is ignored."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "See \"Provider Options\" in openssl(1), provider(7), and property(7)."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "openssl",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/openssl/1/json"
            },
            {
                "name": "openssl-pkeyparam",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/openssl-pkeyparam/1/json"
            },
            {
                "name": "openssl-gendsa",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/openssl-gendsa/1/json"
            },
            {
                "name": "openssl-dsa",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/openssl-dsa/1/json"
            },
            {
                "name": "openssl-genrsa",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/openssl-genrsa/1/json"
            },
            {
                "name": "openssl-rsa",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/openssl-rsa/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-help",
                        "lines": 2
                    },
                    {
                        "name": "-inform",
                        "lines": 3
                    },
                    {
                        "name": "-outform",
                        "lines": 6
                    },
                    {
                        "name": "-in",
                        "lines": 4
                    },
                    {
                        "name": "-out",
                        "lines": 3
                    },
                    {
                        "name": "-noout",
                        "lines": 2
                    },
                    {
                        "name": "-text",
                        "lines": 2
                    },
                    {
                        "name": "-genkey",
                        "lines": 2
                    },
                    {
                        "name": "-verbose",
                        "lines": 2
                    },
                    {
                        "name": "-rand -writerand",
                        "lines": 2
                    },
                    {
                        "name": "-engine",
                        "lines": 6
                    },
                    {
                        "name": "-provider",
                        "lines": 1
                    },
                    {
                        "name": "-provider-path",
                        "lines": 1
                    },
                    {
                        "name": "-propquery",
                        "lines": 2
                    }
                ]
            },
            {
                "name": "SEE ALSO",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "HISTORY",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 9,
                "subsections": []
            }
        ]
    }
}