Class OpenSSLStatus
java.lang.Object
org.apache.tomcat.util.net.openssl.OpenSSLStatus
Holds OpenSSL status without the need to load other classes.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
static long
static boolean
static boolean
static boolean
static boolean
static void
setAvailable
(boolean available) static void
setInitialized
(boolean initialized) static void
setInstanceCreated
(boolean instanceCreated) static void
setLibraryInitialized
(boolean libraryInitialized) static void
setUseOpenSSL
(boolean useOpenSSL) static void
setVersion
(long version)
-
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
-