gendsa.pod 1.8 KB

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