First, Introduction
Generation and operation of key parameters for elliptic curve
Second, the grammar
OpenSSL Ecparam [-inform der| PEM] [-outform der| PEM] [-infileID]
Options
-inform arg input Format-default PEM (DER or PEM)-outform arg output format-default PEM-inchARG inputfile-default stdin-out arg outputfile-default stdout-noout DoNot print the EC parameter-text Print the EC parametersinchtext Form-Check validate the EC parameters-C Print a'C' functionCreating the Parameters-name arg use the EC parameters with'Short name'name-list_curves prints a list of all currently available curve'Short names'-conv_form ARG Specifies the point conversion form possible values:compressed Uncompressed (default) hybrid-Param_enc arg Specifies the "the" EC parameters is encodedinchThe asn1 der encoding possible values:named_curve (default) exp Licit-no_seedif 'Explicit'Parameters is Choosen DoNot use the seed-genkey generate EC key-randfileFiles to use forrandom Number input-engine e use engine E, possibly a hardware device
Third, examples
1. Create EC parameter and private key file
OpenSSL ecparam-out ec_param.pem-name Prime256v1-param_enc Explicit-genkey
2. View EC private Key
OpenSSL Ecparam- in Ec_param.pem-text
3. Verify EC Parameters
OpenSSL Ecparam- in Ec_param.pem-check
Reference: http://blog.csdn.net/as3luyuan123/article/details/14406429
Openssl ecparam Command