openssl-engine.pod.in 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. =pod
  2. {- OpenSSL::safe::output_do_not_edit_headers(); -}
  3. =head1 NAME
  4. openssl-engine - load and query engines
  5. =head1 SYNOPSIS
  6. B<openssl engine>
  7. [B<-help>]
  8. [B<-v>]
  9. [B<-vv>]
  10. [B<-vvv>]
  11. [B<-vvvv>]
  12. [B<-c>]
  13. [B<-t>]
  14. [B<-tt>]
  15. [B<-pre> I<command>] ...
  16. [B<-post> I<command>] ...
  17. [I<engine> ...]
  18. =head1 DESCRIPTION
  19. This command has been deprecated. Providers should be used instead of engines.
  20. This command is used to query the status and capabilities
  21. of the specified I<engine>s.
  22. Engines may be specified before and after all other command-line flags.
  23. Only those specified are queried.
  24. =head1 OPTIONS
  25. =over 4
  26. =item B<-help>
  27. Display an option summary.
  28. =item B<-v> B<-vv> B<-vvv> B<-vvvv>
  29. Provides information about each specified engine. The first flag lists
  30. all the possible run-time control commands; the second adds a
  31. description of each command; the third adds the input flags, and the
  32. final option adds the internal input flags.
  33. =item B<-c>
  34. Lists the capabilities of each engine.
  35. =item B<-t>
  36. Tests if each specified engine is available, and displays the answer.
  37. =item B<-tt>
  38. Displays an error trace for any unavailable engine.
  39. =item B<-pre> I<command>
  40. =item B<-post> I<command>
  41. Command-line configuration of engines.
  42. The B<-pre> command is given to the engine before it is loaded and
  43. the B<-post> command is given after the engine is loaded.
  44. The I<command> is of the form I<cmd>:I<val> where I<cmd> is the command,
  45. and I<val> is the value for the command.
  46. See the example below.
  47. These two options are cumulative, so they may be given more than once in the
  48. same command.
  49. =back
  50. =head1 EXAMPLES
  51. To list all the commands available to a dynamic engine:
  52. $ openssl engine -t -tt -vvvv dynamic
  53. (dynamic) Dynamic engine loading support
  54. [ unavailable ]
  55. SO_PATH: Specifies the path to the new ENGINE shared library
  56. (input flags): STRING
  57. NO_VCHECK: Specifies to continue even if version checking fails (boolean)
  58. (input flags): NUMERIC
  59. ID: Specifies an ENGINE id name for loading
  60. (input flags): STRING
  61. LIST_ADD: Whether to add a loaded ENGINE to the internal list (0=no,1=yes,2=mandatory)
  62. (input flags): NUMERIC
  63. DIR_LOAD: Specifies whether to load from 'DIR_ADD' directories (0=no,1=yes,2=mandatory)
  64. (input flags): NUMERIC
  65. DIR_ADD: Adds a directory from which ENGINEs can be loaded
  66. (input flags): STRING
  67. LOAD: Load up the ENGINE specified by other settings
  68. (input flags): NO_INPUT
  69. To list the capabilities of the B<rsax> engine:
  70. $ openssl engine -c
  71. (rsax) RSAX engine support
  72. [RSA]
  73. (dynamic) Dynamic engine loading support
  74. =head1 ENVIRONMENT
  75. =over 4
  76. =item B<OPENSSL_ENGINES>
  77. The path to the engines directory.
  78. =back
  79. =head1 SEE ALSO
  80. L<openssl(1)>,
  81. L<config(5)>
  82. =head1 HISTORY
  83. This command was deprecated in OpenSSL 3.0.
  84. =head1 COPYRIGHT
  85. Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved.
  86. Licensed under the Apache License 2.0 (the "License"). You may not use
  87. this file except in compliance with the License. You can obtain a copy
  88. in the file LICENSE in the source distribution or at
  89. L<https://www.openssl.org/source/license.html>.
  90. =cut