X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=sidebyside;f=doc%2Fapps%2Fec.pod;h=10c5e859aac9aa58357edb740f96d1d56b992c45;hb=77a795e4b0ac541b305561811bab355f5bb316fd;hp=b8ea645ba33d7e514bcfe3bd629c8ba977d48201;hpb=7565cbc4d7b8cdec7d66fd799c7e892b7a5a8183;p=oweals%2Fopenssl.git diff --git a/doc/apps/ec.pod b/doc/apps/ec.pod index b8ea645ba3..10c5e859aa 100644 --- a/doc/apps/ec.pod +++ b/doc/apps/ec.pod @@ -7,6 +7,7 @@ ec - EC key processing =head1 SYNOPSIS B B +[B<-help>] [B<-inform PEM|DER>] [B<-outform PEM|DER>] [B<-in filename>] @@ -30,15 +31,19 @@ B B =head1 DESCRIPTION The B command processes EC keys. They can be converted between various -forms and their components printed out. B OpenSSL uses the +forms and their components printed out. B OpenSSL uses the private key format specified in 'SEC 1: Elliptic Curve Cryptography' -(http://www.secg.org/). To convert a OpenSSL EC private key into the +(http://www.secg.org/). To convert an OpenSSL EC private key into the PKCS#8 private key format use the B command. =head1 COMMAND OPTIONS =over 4 +=item B<-help> + +Print out a usage message. + =item B<-inform DER|PEM> This specifies the input format. The B option with a private key uses @@ -50,7 +55,7 @@ PKCS#8 format is also accepted. =item B<-outform DER|PEM> -This specifies the output format, the options have the same meaning as the +This specifies the output format, the options have the same meaning as the B<-inform> option. =item B<-in filename> @@ -78,7 +83,7 @@ see the B section in L. =item B<-des|-des3|-idea> -These options encrypt the private key with the DES, triple DES, IDEA or +These options encrypt the private key with the DES, triple DES, IDEA or any other cipher supported by OpenSSL before outputting it. A pass phrase is prompted for. If none of these options is specified the key is written in plain text. This @@ -124,8 +129,8 @@ the preprocessor macro B at compile time. This specifies how the elliptic curve parameters are encoded. Possible value are: B, i.e. the ec parameters are -specified by a OID, or B where the ec parameters are -explicitly given (see RFC 3279 for the definition of the +specified by an OID, or B where the ec parameters are +explicitly given (see RFC 3279 for the definition of the EC parameters structures). The default value is B. B the B alternative ,as specified in RFC 3279, is currently not implemented in OpenSSL. @@ -165,7 +170,7 @@ To encrypt a private key using triple DES: openssl ec -in key.pem -des3 -out keyout.pem -To convert a private key from PEM to DER format: +To convert a private key from PEM to DER format: openssl ec -in key.pem -outform DER -out keyout.der @@ -189,4 +194,13 @@ To change the point conversion form to B: L, L, L +=head1 COPYRIGHT + +Copyright 2003-2016 The OpenSSL Project Authors. All Rights Reserved. + +Licensed under the OpenSSL license (the "License"). You may not use +this file except in compliance with the License. You can obtain a copy +in the file LICENSE in the source distribution or at +L. + =cut