Openssl ecparam Command

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.