Class OpenSSLStatus

java.lang.Object
org.apache.tomcat.util.net.openssl.OpenSSLStatus

public class OpenSSLStatus extends Object
Holds OpenSSL status without the need to load other classes.
  • Constructor Details

    • OpenSSLStatus

      public OpenSSLStatus()
  • Method Details

    • isLibraryInitialized

      public static boolean isLibraryInitialized()
    • isInitialized

      public static boolean isInitialized()
    • isAvailable

      public static boolean isAvailable()
    • getUseOpenSSL

      public static boolean getUseOpenSSL()
    • isInstanceCreated

      public static boolean isInstanceCreated()
    • setLibraryInitialized

      public static void setLibraryInitialized(boolean libraryInitialized)
    • setInitialized

      public static void setInitialized(boolean initialized)
    • setAvailable

      public static void setAvailable(boolean available)
    • setUseOpenSSL

      public static void setUseOpenSSL(boolean useOpenSSL)
    • setInstanceCreated

      public static void setInstanceCreated(boolean instanceCreated)
    • getVersion

      public static long getVersion()
      Returns:
      the version
    • setVersion

      public static void setVersion(long version)
      Parameters:
      version - the version to set
    • getName

      public static OpenSSLStatus.Name getName()
      Returns:
      the library name
    • setName

      public static void setName(OpenSSLStatus.Name name)
      Parameters:
      name - the name to set
    • isOpenSSL3

      public static boolean isOpenSSL3()
      Returns:
      true if running with OpenSSL 3.0+