2
0

gendsa.pod 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. =pod
  2. =head1 NAME
  3. openssl-gendsa,
  4. gendsa - generate a DSA private key from a set of parameters
  5. =head1 SYNOPSIS
  6. B<openssl> B<gendsa>
  7. [B<-help>]
  8. [B<-out filename>]
  9. [B<-aes128>]
  10. [B<-aes192>]
  11. [B<-aes256>]
  12. [B<-aria128>]
  13. [B<-aria192>]
  14. [B<-aria256>]
  15. [B<-camellia128>]
  16. [B<-camellia192>]
  17. [B<-camellia256>]
  18. [B<-des>]
  19. [B<-des3>]
  20. [B<-idea>]
  21. [B<-rand file...>]
  22. [B<-writerand file>]
  23. [B<-engine id>]
  24. [B<paramfile>]
  25. =head1 DESCRIPTION
  26. The B<gendsa> command generates a DSA private key from a DSA parameter file
  27. (which will be typically generated by the B<openssl dsaparam> command).
  28. =head1 OPTIONS
  29. =over 4
  30. =item B<-help>
  31. Print out a usage message.
  32. =item B<-out filename>
  33. Output the key to the specified file. If this argument is not specified then
  34. standard output is used.
  35. =item B<-aes128>, B<-aes192>, B<-aes256>, B<-aria128>, B<-aria192>, B<-aria256>, B<-camellia128>, B<-camellia192>, B<-camellia256>, B<-des>, B<-des3>, B<-idea>
  36. These options encrypt the private key with specified
  37. cipher before outputting it. A pass phrase is prompted for.
  38. If none of these options is specified no encryption is used.
  39. =item B<-rand file...>
  40. A file or files containing random data used to seed the random number
  41. generator.
  42. Multiple files can be specified separated by an OS-dependent character.
  43. The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for
  44. all others.
  45. =item [B<-writerand file>]
  46. Writes random data to the specified I<file> upon exit.
  47. This can be used with a subsequent B<-rand> flag.
  48. =item B<-engine id>
  49. Specifying an engine (by its unique B<id> string) will cause B<gendsa>
  50. to attempt to obtain a functional reference to the specified engine,
  51. thus initialising it if needed. The engine will then be set as the default
  52. for all available algorithms.
  53. =item B<paramfile>
  54. This option specifies the DSA parameter file to use. The parameters in this
  55. file determine the size of the private key. DSA parameters can be generated
  56. and examined using the B<openssl dsaparam> command.
  57. =back
  58. =head1 NOTES
  59. DSA key generation is little more than random number generation so it is
  60. much quicker that RSA key generation for example.
  61. =head1 SEE ALSO
  62. L<dsaparam(1)>, L<dsa(1)>, L<genrsa(1)>,
  63. L<rsa(1)>
  64. =head1 COPYRIGHT
  65. Copyright 2000-2018 The OpenSSL Project Authors. All Rights Reserved.
  66. Licensed under the OpenSSL license (the "License"). You may not use
  67. this file except in compliance with the License. You can obtain a copy
  68. in the file LICENSE in the source distribution or at
  69. L<https://www.openssl.org/source/license.html>.
  70. =cut