Package com.tableau.hyperapi

# Class OpenSSL

java.lang.Object
com.tableau.hyperapi.OpenSSL

public final class OpenSSL extends Object
OpenSSL configuration functionality.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static String[]`
  `getLoadedModules()`
  Get loaded OpenSSL modules.
  `static void`
  `initialize(String modulesDir, String configPath, boolean forceFips)`
  Initialize OpenSSL library.
  `static void`
  `unload()`
  Unload OpenSSL modules.

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### initialize

    public static void initialize(String modulesDir, String configPath, boolean forceFips)
    Initialize OpenSSL library.
    Parameters:
      `modulesDir` - - directory containing OpenSSL modules
      `configPath` - - path to OpenSSL configuration file
      `forceFips` - - force FIPS mode
    Throws:
      `HyperException` - if initialization fails

  - ### unload

    public static void unload()
    Unload OpenSSL modules.

  - ### getLoadedModules

    public static String[] getLoadedModules()
    Get loaded OpenSSL modules. Warning: Calling this function triggers the default OpenSSL initialization. If you want to explicitly initialize OpenSSL, make sure to call `initialize(java.lang.String, java.lang.String, boolean)` first.
    Returns:
      array of module names
    Throws:
      `HyperException` - if modules cannot be retrieved