{
    "content": [
        {
            "type": "text",
            "text": "# OPENSSL-ECPARAM (man)\n\n## NAME\n\nopenssl-ecparam - EC parameter manipulation and generation\n\n## SYNOPSIS\n\nopenssl ecparam [-help] [-inform DER|PEM] [-outform DER|PEM] [-in filename] [-out filename]\n[-noout] [-text] [-check] [-checknamed] [-name arg] [-listcurves] [-convform arg]\n[-paramenc arg] [-noseed] [-genkey] [-engine id] [-rand files] [-writerand file] [-provider\nname] [-provider-path path] [-propquery propq]\n\n## DESCRIPTION\n\nThis command is used to manipulate or generate EC parameter files.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (20 subsections)\n- **EXAMPLES**\n- **SEE ALSO**\n- **HISTORY**\n- **COPYRIGHT**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "OPENSSL-ECPARAM",
        "section": "",
        "mode": "man",
        "summary": "openssl-ecparam - EC parameter manipulation and generation",
        "synopsis": "openssl ecparam [-help] [-inform DER|PEM] [-outform DER|PEM] [-in filename] [-out filename]\n[-noout] [-text] [-check] [-checknamed] [-name arg] [-listcurves] [-convform arg]\n[-paramenc arg] [-noseed] [-genkey] [-engine id] [-rand files] [-writerand file] [-provider\nname] [-provider-path path] [-propquery propq]",
        "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 EC parameters input format; unspecified by default. See openssl-format-options(1) for details."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "The EC parameters output format; the default is PEM. See openssl-format-options(1) for details. Parameters are encoded as EcpkParameters as specified in IETF RFC 3279."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "This specifies the input filename to read parameters from or standard input if this option is not specified."
            },
            {
                "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 EC parameters in human readable form."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Validate the elliptic curve parameters."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Validate the elliptic name curve parameters by checking if the curve parameters match any built-in curves."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Use the EC parameters with the specified 'short' name. Use -listcurves to get a list of all currently implemented EC parameters."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Print out a list of all currently implemented EC parameters names and exit."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "This specifies how the points on the elliptic curve are converted into octet strings. Possible values are: compressed, uncompressed (the default value) and hybrid. For more information regarding the point conversion forms please read the X9.62 standard. Note Due to patent issues the compressed option is disabled by default for binary curves and can be enabled by defining the preprocessor macro OPENSSLECBINPTCOMP at compile time."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "This specifies how the elliptic curve parameters are encoded. Possible value are: namedcurve, i.e. the ec parameters are specified by an OID, or explicit where the ec parameters are explicitly given (see RFC 3279 for the definition of the EC parameters structures). The default value is namedcurve. Note the implicitlyCA alternative, as specified in RFC 3279, is currently not implemented in OpenSSL."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "This option inhibits that the 'seed' for the parameter generation is included in the ECParameters structure (see RFC 3279)."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "This option will generate an EC private key using the specified parameters."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "See \"Engine Options\" in openssl(1). This option is deprecated."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "See \"Random State Options\" in openssl(1) for details."
            },
            {
                "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). The openssl-genpkey(1) and openssl-pkeyparam(1) commands are capable of performing all the operations this command can, as well as supporting other public key types."
            }
        ],
        "examples": [
            "The documentation for  the  openssl-genpkey(1)  and  openssl-pkeyparam(1)  commands  contains",
            "examples equivalent to the ones listed here.",
            "To create EC parameters with the group 'prime192v1':",
            "openssl ecparam -out ecparam.pem -name prime192v1",
            "To create EC parameters with explicit parameters:",
            "openssl ecparam -out ecparam.pem -name prime192v1 -paramenc explicit",
            "To validate given EC parameters:",
            "openssl ecparam -in ecparam.pem -check",
            "To create EC parameters and a private key:",
            "openssl ecparam -out eckey.pem -name prime192v1 -genkey",
            "To change the point encoding to 'compressed':",
            "openssl ecparam -in ecin.pem -out ecout.pem -convform compressed",
            "To print out the EC parameters to standard output:",
            "openssl ecparam -in ecparam.pem -noout -text"
        ],
        "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-genpkey",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/openssl-genpkey/1/json"
            },
            {
                "name": "openssl-ec",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/openssl-ec/1/json"
            },
            {
                "name": "openssl-dsaparam",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/openssl-dsaparam/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-help",
                        "lines": 2
                    },
                    {
                        "name": "-inform DER",
                        "lines": 3
                    },
                    {
                        "name": "-outform DER",
                        "lines": 5
                    },
                    {
                        "name": "-in _",
                        "lines": 3
                    },
                    {
                        "name": "-out _",
                        "lines": 3
                    },
                    {
                        "name": "-noout",
                        "lines": 2
                    },
                    {
                        "name": "-text",
                        "lines": 2
                    },
                    {
                        "name": "-check",
                        "lines": 2
                    },
                    {
                        "name": "-check_named",
                        "lines": 3
                    },
                    {
                        "name": "-name _",
                        "lines": 3
                    },
                    {
                        "name": "-list_curves",
                        "lines": 2
                    },
                    {
                        "name": "-conv_form _",
                        "lines": 6
                    },
                    {
                        "name": "-param_enc _",
                        "lines": 6
                    },
                    {
                        "name": "-no_seed",
                        "lines": 3
                    },
                    {
                        "name": "-genkey",
                        "lines": 2
                    },
                    {
                        "name": "-engine _",
                        "lines": 2
                    },
                    {
                        "name": "-rand _ -writerand _",
                        "lines": 2
                    },
                    {
                        "name": "-provider _",
                        "lines": 1
                    },
                    {
                        "name": "-provider-path _",
                        "lines": 1
                    },
                    {
                        "name": "-propquery _",
                        "lines": 5
                    }
                ]
            },
            {
                "name": "EXAMPLES",
                "lines": 27,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "HISTORY",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 7,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "openssl-ecparam - EC parameter manipulation and generation\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "openssl ecparam [-help] [-inform DER|PEM] [-outform DER|PEM] [-in filename] [-out filename]\n[-noout] [-text] [-check] [-checknamed] [-name arg] [-listcurves] [-convform arg]\n[-paramenc arg] [-noseed] [-genkey] [-engine id] [-rand files] [-writerand file] [-provider\nname] [-provider-path path] [-propquery propq]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This command is used to manipulate or generate EC parameter files.\n\nOpenSSL is currently not able to generate new groups and therefore this command can only\ncreate EC parameters from known (named) curves.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "-help",
                        "content": "Print out a usage message.\n"
                    },
                    {
                        "name": "-inform DER",
                        "content": "The  EC  parameters  input format; unspecified by default.  See openssl-format-options(1)\nfor details.\n"
                    },
                    {
                        "name": "-outform DER",
                        "content": "The EC parameters output format; the default is PEM.  See  openssl-format-options(1)  for\ndetails.\n\nParameters are encoded as EcpkParameters as specified in IETF RFC 3279.\n"
                    },
                    {
                        "name": "-in _",
                        "content": "This  specifies  the  input  filename  to  read parameters from or standard input if this\noption is not specified.\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 EC parameters in human readable form.\n"
                    },
                    {
                        "name": "-check",
                        "content": "Validate the elliptic curve parameters.\n"
                    },
                    {
                        "name": "-check_named",
                        "content": "Validate the elliptic name curve parameters by checking if the curve parameters match any\nbuilt-in curves.\n"
                    },
                    {
                        "name": "-name _",
                        "content": "Use  the EC parameters with the specified 'short' name. Use -listcurves to get a list of\nall currently implemented EC parameters.\n"
                    },
                    {
                        "name": "-list_curves",
                        "content": "Print out a list of all currently implemented EC parameters names and exit.\n"
                    },
                    {
                        "name": "-conv_form _",
                        "content": "This specifies how the points on the elliptic curve are  converted  into  octet  strings.\nPossible  values  are:  compressed, uncompressed (the default value) and hybrid. For more\ninformation regarding the point conversion forms please read the  X9.62  standard.   Note\nDue  to  patent issues the compressed option is disabled by default for binary curves and\ncan be enabled by defining the preprocessor macro OPENSSLECBINPTCOMP at compile time.\n"
                    },
                    {
                        "name": "-param_enc _",
                        "content": "This specifies how the elliptic  curve  parameters  are  encoded.   Possible  value  are:\nnamedcurve,  i.e.  the  ec  parameters are specified by an OID, or explicit where the ec\nparameters are explicitly given (see RFC 3279 for the definition  of  the  EC  parameters\nstructures).  The  default  value  is namedcurve.  Note the implicitlyCA alternative, as\nspecified in RFC 3279, is currently not implemented in OpenSSL.\n"
                    },
                    {
                        "name": "-no_seed",
                        "content": "This option inhibits that the 'seed' for the parameter  generation  is  included  in  the\nECParameters structure (see RFC 3279).\n"
                    },
                    {
                        "name": "-genkey",
                        "content": "This option will generate an EC private key using the specified parameters.\n"
                    },
                    {
                        "name": "-engine _",
                        "content": "See \"Engine Options\" in openssl(1).  This option is deprecated.\n"
                    },
                    {
                        "name": "-rand _ -writerand _",
                        "content": "See \"Random State Options\" in openssl(1) for details.\n"
                    },
                    {
                        "name": "-provider _",
                        "content": ""
                    },
                    {
                        "name": "-provider-path _",
                        "content": ""
                    },
                    {
                        "name": "-propquery _",
                        "content": "See \"Provider Options\" in openssl(1), provider(7), and property(7).\n\nThe  openssl-genpkey(1)  and  openssl-pkeyparam(1) commands are capable of performing all the\noperations this command can, as well as supporting other public key types.\n"
                    }
                ]
            },
            "EXAMPLES": {
                "content": "The documentation for  the  openssl-genpkey(1)  and  openssl-pkeyparam(1)  commands  contains\nexamples equivalent to the ones listed here.\n\nTo create EC parameters with the group 'prime192v1':\n\nopenssl ecparam -out ecparam.pem -name prime192v1\n\nTo create EC parameters with explicit parameters:\n\nopenssl ecparam -out ecparam.pem -name prime192v1 -paramenc explicit\n\nTo validate given EC parameters:\n\nopenssl ecparam -in ecparam.pem -check\n\nTo create EC parameters and a private key:\n\nopenssl ecparam -out eckey.pem -name prime192v1 -genkey\n\nTo change the point encoding to 'compressed':\n\nopenssl ecparam -in ecin.pem -out ecout.pem -convform compressed\n\nTo print out the EC parameters to standard output:\n\nopenssl ecparam -in ecparam.pem -noout -text\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "openssl(1), openssl-pkeyparam(1), openssl-genpkey(1), openssl-ec(1), openssl-dsaparam(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 2003-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\n3.0.13                                       2026-07-29                        OPENSSL-ECPARAM(1SSL)",
                "subsections": []
            }
        }
    }
}