Home | History | Annotate | Line # | Download | only in man1
dsaparam.pod revision 1.1.1.1
      1  1.1  christos =pod
      2  1.1  christos 
      3  1.1  christos =head1 NAME
      4  1.1  christos 
      5  1.1  christos openssl-dsaparam,
      6  1.1  christos dsaparam - DSA parameter manipulation and generation
      7  1.1  christos 
      8  1.1  christos =head1 SYNOPSIS
      9  1.1  christos 
     10  1.1  christos B<openssl dsaparam>
     11  1.1  christos [B<-help>]
     12  1.1  christos [B<-inform DER|PEM>]
     13  1.1  christos [B<-outform DER|PEM>]
     14  1.1  christos [B<-in filename>]
     15  1.1  christos [B<-out filename>]
     16  1.1  christos [B<-noout>]
     17  1.1  christos [B<-text>]
     18  1.1  christos [B<-C>]
     19  1.1  christos [B<-rand file...>]
     20  1.1  christos [B<-writerand file>]
     21  1.1  christos [B<-genkey>]
     22  1.1  christos [B<-engine id>]
     23  1.1  christos [B<numbits>]
     24  1.1  christos 
     25  1.1  christos =head1 DESCRIPTION
     26  1.1  christos 
     27  1.1  christos This command is used to manipulate or generate DSA parameter files.
     28  1.1  christos 
     29  1.1  christos =head1 OPTIONS
     30  1.1  christos 
     31  1.1  christos =over 4
     32  1.1  christos 
     33  1.1  christos =item B<-help>
     34  1.1  christos 
     35  1.1  christos Print out a usage message.
     36  1.1  christos 
     37  1.1  christos =item B<-inform DER|PEM>
     38  1.1  christos 
     39  1.1  christos This specifies the input format. The B<DER> option uses an ASN1 DER encoded
     40  1.1  christos form compatible with RFC2459 (PKIX) DSS-Parms that is a SEQUENCE consisting
     41  1.1  christos of p, q and g respectively. The PEM form is the default format: it consists
     42  1.1  christos of the B<DER> format base64 encoded with additional header and footer lines.
     43  1.1  christos 
     44  1.1  christos =item B<-outform DER|PEM>
     45  1.1  christos 
     46  1.1  christos This specifies the output format, the options have the same meaning and default
     47  1.1  christos as the B<-inform> option.
     48  1.1  christos 
     49  1.1  christos =item B<-in filename>
     50  1.1  christos 
     51  1.1  christos This specifies the input filename to read parameters from or standard input if
     52  1.1  christos this option is not specified. If the B<numbits> parameter is included then
     53  1.1  christos this option will be ignored.
     54  1.1  christos 
     55  1.1  christos =item B<-out filename>
     56  1.1  christos 
     57  1.1  christos This specifies the output filename parameters to. Standard output is used
     58  1.1  christos if this option is not present. The output filename should B<not> be the same
     59  1.1  christos as the input filename.
     60  1.1  christos 
     61  1.1  christos =item B<-noout>
     62  1.1  christos 
     63  1.1  christos This option inhibits the output of the encoded version of the parameters.
     64  1.1  christos 
     65  1.1  christos =item B<-text>
     66  1.1  christos 
     67  1.1  christos This option prints out the DSA parameters in human readable form.
     68  1.1  christos 
     69  1.1  christos =item B<-C>
     70  1.1  christos 
     71  1.1  christos This option converts the parameters into C code. The parameters can then
     72  1.1  christos be loaded by calling the get_dsaXXX() function.
     73  1.1  christos 
     74  1.1  christos =item B<-genkey>
     75  1.1  christos 
     76  1.1  christos This option will generate a DSA either using the specified or generated
     77  1.1  christos parameters.
     78  1.1  christos 
     79  1.1  christos =item B<-rand file...>
     80  1.1  christos 
     81  1.1  christos A file or files containing random data used to seed the random number
     82  1.1  christos generator.
     83  1.1  christos Multiple files can be specified separated by an OS-dependent character.
     84  1.1  christos The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for
     85  1.1  christos all others.
     86  1.1  christos 
     87  1.1  christos =item [B<-writerand file>]
     88  1.1  christos 
     89  1.1  christos Writes random data to the specified I<file> upon exit.
     90  1.1  christos This can be used with a subsequent B<-rand> flag.
     91  1.1  christos 
     92  1.1  christos =item B<numbits>
     93  1.1  christos 
     94  1.1  christos This option specifies that a parameter set should be generated of size
     95  1.1  christos B<numbits>. It must be the last option. If this option is included then
     96  1.1  christos the input file (if any) is ignored.
     97  1.1  christos 
     98  1.1  christos =item B<-engine id>
     99  1.1  christos 
    100  1.1  christos Specifying an engine (by its unique B<id> string) will cause B<dsaparam>
    101  1.1  christos to attempt to obtain a functional reference to the specified engine,
    102  1.1  christos thus initialising it if needed. The engine will then be set as the default
    103  1.1  christos for all available algorithms.
    104  1.1  christos 
    105  1.1  christos =back
    106  1.1  christos 
    107  1.1  christos =head1 NOTES
    108  1.1  christos 
    109  1.1  christos PEM format DSA parameters use the header and footer lines:
    110  1.1  christos 
    111  1.1  christos  -----BEGIN DSA PARAMETERS-----
    112  1.1  christos  -----END DSA PARAMETERS-----
    113  1.1  christos 
    114  1.1  christos DSA parameter generation is a slow process and as a result the same set of
    115  1.1  christos DSA parameters is often used to generate several distinct keys.
    116  1.1  christos 
    117  1.1  christos =head1 SEE ALSO
    118  1.1  christos 
    119  1.1  christos L<gendsa(1)>, L<dsa(1)>, L<genrsa(1)>,
    120  1.1  christos L<rsa(1)>
    121  1.1  christos 
    122  1.1  christos =head1 COPYRIGHT
    123  1.1  christos 
    124  1.1  christos Copyright 2000-2017 The OpenSSL Project Authors. All Rights Reserved.
    125  1.1  christos 
    126  1.1  christos Licensed under the OpenSSL license (the "License").  You may not use
    127  1.1  christos this file except in compliance with the License.  You can obtain a copy
    128  1.1  christos in the file LICENSE in the source distribution or at
    129  1.1  christos L<https://www.openssl.org/source/license.html>.
    130  1.1  christos 
    131  1.1  christos =cut
    132