PKI.info returns information about the engine which is providing the PKI functionality.

PKI.info()

Value

Named list:

engine

string, name of the engine, currently either "openssl" or "libressl"

version

numeric, version of the engine as a real number in the form major.minor

description

string, description of the engine, its version and any futher information that the engine may provide

Author

Simon Urbanek

Note

This function should be treated as informational only. The return value is subject to change, mainly we may extend it to possibly supply information on available ciphers etc.

Older versions of OpenSSL did not provide functional API to retrieve version inforation, so versions < 1.1 may not reflect the true version, but rather the values from the headers at compile time which may not be the same as the loaded library at run-time.

Examples

str(PKI.info())
#> List of 3
#>  $ engine     : chr "openssl"
#>  $ version    : num 1.1
#>  $ description: chr "OpenSSL 1.1.1n  15 Mar 2022"