openssl-dsaparam.pod.in 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. =pod
  2. {- OpenSSL::safe::output_do_not_edit_headers(); -}
  3. =head1 NAME
  4. openssl-dsaparam - DSA parameter manipulation and generation
  5. =head1 SYNOPSIS
  6. B<openssl dsaparam>
  7. [B<-help>]
  8. [B<-inform> B<DER>|B<PEM>]
  9. [B<-outform> B<DER>|B<PEM>]
  10. [B<-in> I<filename>]
  11. [B<-out> I<filename>]
  12. [B<-noout>]
  13. [B<-text>]
  14. [B<-genkey>]
  15. [B<-verbose>]
  16. {- $OpenSSL::safe::opt_r_synopsis -}
  17. {- $OpenSSL::safe::opt_engine_synopsis -}{- $OpenSSL::safe::opt_provider_synopsis -}
  18. [I<numbits>]
  19. =head1 DESCRIPTION
  20. This command is used to manipulate or generate DSA parameter files.
  21. DSA parameter generation can be a slow process and as a result the same set of
  22. DSA parameters is often used to generate several distinct keys.
  23. =head1 OPTIONS
  24. =over 4
  25. =item B<-help>
  26. Print out a usage message.
  27. =item B<-inform> B<DER>|B<PEM>
  28. The DSA parameters input format; unspecified by default.
  29. See L<openssl-format-options(1)> for details.
  30. =item B<-outform> B<DER>|B<PEM>
  31. The DSA parameters output format; the default is B<PEM>.
  32. See L<openssl-format-options(1)> for details.
  33. Parameters are a sequence of B<ASN.1 INTEGER>s: B<p>, B<q>, and B<g>.
  34. This is compatible with RFC 2459 B<DSS-Parms> structure.
  35. =item B<-in> I<filename>
  36. This specifies the input filename to read parameters from or standard input if
  37. this option is not specified. If the I<numbits> parameter is included then
  38. this option will be ignored.
  39. =item B<-out> I<filename>
  40. This specifies the output filename parameters to. Standard output is used
  41. if this option is not present. The output filename should B<not> be the same
  42. as the input filename.
  43. =item B<-noout>
  44. This option inhibits the output of the encoded version of the parameters.
  45. =item B<-text>
  46. This option prints out the DSA parameters in human readable form.
  47. =item B<-genkey>
  48. This option will generate a DSA either using the specified or generated
  49. parameters.
  50. =item B<-verbose>
  51. Print extra details about the operations being performed.
  52. {- $OpenSSL::safe::opt_r_item -}
  53. {- $OpenSSL::safe::opt_engine_item -}
  54. =item I<numbits>
  55. This option specifies that a parameter set should be generated of size
  56. I<numbits>. It must be the last option. If this option is included then
  57. the input file (if any) is ignored.
  58. {- $OpenSSL::safe::opt_provider_item -}
  59. =back
  60. =head1 SEE ALSO
  61. L<openssl(1)>,
  62. L<openssl-pkeyparam(1)>,
  63. L<openssl-gendsa(1)>,
  64. L<openssl-dsa(1)>,
  65. L<openssl-genrsa(1)>,
  66. L<openssl-rsa(1)>
  67. =head1 HISTORY
  68. The B<-engine> option was deprecated in OpenSSL 3.0.
  69. The B<-C> option was removed in OpenSSL 3.0.
  70. =head1 COPYRIGHT
  71. Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.
  72. Licensed under the Apache License 2.0 (the "License"). You may not use
  73. this file except in compliance with the License. You can obtain a copy
  74. in the file LICENSE in the source distribution or at
  75. L<https://www.openssl.org/source/license.html>.
  76. =cut