engine.pod 2.8 KB

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