gendsa.pod 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. =pod
  2. =head1 NAME
  3. gendsa - generate a DSA private key from a set of parameters
  4. =head1 SYNOPSIS
  5. B<openssl> B<gendsa>
  6. [B<-out filename>]
  7. [B<-des>]
  8. [B<-des3>]
  9. [B<-idea>]
  10. [B<-rand file(s)>]
  11. [B<-engine id>]
  12. [B<paramfile>]
  13. =head1 DESCRIPTION
  14. The B<gendsa> command generates a DSA private key from a DSA parameter file
  15. (which will be typically generated by the B<openssl dsaparam> command).
  16. =head1 OPTIONS
  17. =over 4
  18. =item B<-des|-des3|-idea>
  19. These options encrypt the private key with the DES, triple DES, or the
  20. IDEA ciphers respectively before outputting it. A pass phrase is prompted for.
  21. If none of these options is specified no encryption is used.
  22. =item B<-rand file(s)>
  23. a file or files containing random data used to seed the random number
  24. generator, or an EGD socket (see L<RAND_egd(3)|RAND_egd(3)>).
  25. Multiple files can be specified separated by a OS-dependent character.
  26. The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for
  27. all others.
  28. =item B<-engine id>
  29. specifying an engine (by its unique B<id> string) will cause B<gendsa>
  30. to attempt to obtain a functional reference to the specified engine,
  31. thus initialising it if needed. The engine will then be set as the default
  32. for all available algorithms.
  33. =item B<paramfile>
  34. This option specifies the DSA parameter file to use. The parameters in this
  35. file determine the size of the private key. DSA parameters can be generated
  36. and examined using the B<openssl dsaparam> command.
  37. =back
  38. =head1 NOTES
  39. DSA key generation is little more than random number generation so it is
  40. much quicker that RSA key generation for example.
  41. =head1 SEE ALSO
  42. L<dsaparam(1)|dsaparam(1)>, L<dsa(1)|dsa(1)>, L<genrsa(1)|genrsa(1)>,
  43. L<rsa(1)|rsa(1)>
  44. =cut