openssl-engine.pod 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. =pod
  2. =head1 NAME
  3. openssl-engine - load and query engines
  4. =head1 SYNOPSIS
  5. B<openssl engine>
  6. [B<-v>]
  7. [B<-vv>]
  8. [B<-vvv>]
  9. [B<-vvvv>]
  10. [B<-c>]
  11. [B<-t>]
  12. [B<-tt>]
  13. [B<-pre> I<command>] ...
  14. [B<-post> I<command>] ...
  15. [I<engine> ...]
  16. =head1 DESCRIPTION
  17. This command is used to query the status and capabilities
  18. of the specified I<engine>s.
  19. Engines may be specified before and after all other command-line flags.
  20. Only those specified are queried.
  21. =head1 OPTIONS
  22. =over 4
  23. =item B<-v> B<-vv> B<-vvv> B<-vvvv>
  24. Provides information about each specified engine. The first flag lists
  25. all the possible run-time control commands; the second adds a
  26. description of each command; the third adds the input flags, and the
  27. final option adds the internal input flags.
  28. =item B<-c>
  29. Lists the capabilities of each engine.
  30. =item B<-t>
  31. Tests if each specified engine is available, and displays the answer.
  32. =item B<-tt>
  33. Displays an error trace for any unavailable engine.
  34. =item B<-pre> I<command>
  35. =item B<-post> I<command>
  36. Command-line configuration of engines.
  37. The B<-pre> command is given to the engine before it is loaded and
  38. the B<-post> command is given after the engine is loaded.
  39. The I<command> is of the form I<cmd>:I<val> where I<cmd> is the command,
  40. and I<val> is the value for the command.
  41. See the example below.
  42. These two options are cumulative, so they may be given more than once in the
  43. same command.
  44. =back
  45. =head1 EXAMPLES
  46. To list all the commands available to a dynamic engine:
  47. $ openssl engine -t -tt -vvvv dynamic
  48. (dynamic) Dynamic engine loading support
  49. [ unavailable ]
  50. SO_PATH: Specifies the path to the new ENGINE shared library
  51. (input flags): STRING
  52. NO_VCHECK: Specifies to continue even if version checking fails (boolean)
  53. (input flags): NUMERIC
  54. ID: Specifies an ENGINE id name for loading
  55. (input flags): STRING
  56. LIST_ADD: Whether to add a loaded ENGINE to the internal list (0=no,1=yes,2=mandatory)
  57. (input flags): NUMERIC
  58. DIR_LOAD: Specifies whether to load from 'DIR_ADD' directories (0=no,1=yes,2=mandatory)
  59. (input flags): NUMERIC
  60. DIR_ADD: Adds a directory from which ENGINEs can be loaded
  61. (input flags): STRING
  62. LOAD: Load up the ENGINE specified by other settings
  63. (input flags): NO_INPUT
  64. To list the capabilities of the B<rsax> engine:
  65. $ openssl engine -c
  66. (rsax) RSAX engine support
  67. [RSA]
  68. (dynamic) Dynamic engine loading support
  69. =head1 ENVIRONMENT
  70. =over 4
  71. =item B<OPENSSL_ENGINES>
  72. The path to the engines directory.
  73. =back
  74. =head1 SEE ALSO
  75. L<openssl(1)>,
  76. L<config(5)>
  77. =head1 COPYRIGHT
  78. Copyright 2016-2019 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