{
    "content": [
        {
            "type": "text",
            "text": "# openssl-dsaparam (man)\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\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (14 subsections)\n- **SEE ALSO**\n- **HISTORY**\n- **COPYRIGHT**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "openssl-dsaparam",
        "section": "",
        "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": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "openssl-dsaparam - DSA parameter manipulation and generation\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "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",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This 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",
                "subsections": []
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "-help",
                        "content": "Print out a usage message.\n"
                    },
                    {
                        "name": "-inform",
                        "content": "The DSA parameters input format; unspecified by default.  See openssl-format-options(1)\nfor details.\n"
                    },
                    {
                        "name": "-outform",
                        "content": "The 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"
                    },
                    {
                        "name": "-in",
                        "content": "This 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"
                    },
                    {
                        "name": "-out",
                        "content": "This 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"
                    },
                    {
                        "name": "-noout",
                        "content": "This option inhibits the output of the encoded version of the parameters.\n"
                    },
                    {
                        "name": "-text",
                        "content": "This option prints out the DSA parameters in human readable form.\n"
                    },
                    {
                        "name": "-genkey",
                        "content": "This option will generate a DSA either using the specified or generated parameters.\n"
                    },
                    {
                        "name": "-verbose",
                        "content": "Print extra details about the operations being performed.\n"
                    },
                    {
                        "name": "-rand -writerand",
                        "content": "See \"Random State Options\" in openssl(1) for details.\n"
                    },
                    {
                        "name": "-engine",
                        "content": "See \"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"
                    },
                    {
                        "name": "-provider",
                        "content": ""
                    },
                    {
                        "name": "-provider-path",
                        "content": ""
                    },
                    {
                        "name": "-propquery",
                        "content": "See \"Provider Options\" in openssl(1), provider(7), and property(7).\n"
                    }
                ]
            },
            "SEE ALSO": {
                "content": "openssl(1), openssl-pkeyparam(1), openssl-gendsa(1), openssl-dsa(1), openssl-genrsa(1),\nopenssl-rsa(1)\n",
                "subsections": []
            },
            "HISTORY": {
                "content": "The -engine option was deprecated in OpenSSL 3.0.\n\nThe -C option was removed in OpenSSL 3.0.\n",
                "subsections": []
            },
            "COPYRIGHT": {
                "content": "Copyright 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-06-02                       OPENSSL-DSAPARAM(1SSL)",
                "subsections": []
            }
        }
    }
}