Package org.apache.catalina.core
Class OpenSSLLifecycleListener
java.lang.Object
org.apache.catalina.core.OpenSSLLifecycleListener
- All Implemented Interfaces:
LifecycleListener
Implementation of
LifecycleListener
that will do the global
initialization of OpenSSL according to specified configuration parameters.
Using the listener is completely optional, but is needed for configuration
and full cleanup of a few native memory allocations.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Object
protected static final StringManager
The string manager for this package. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
boolean
void
lifecycleEvent
(LifecycleEvent event) Primary entry point for startup and shutdown events.void
setFIPSMode
(String FIPSMode) void
setSSLEngine
(String SSLEngine) void
setSSLRandomSeed
(String SSLRandomSeed)
-
Field Details
-
sm
The string manager for this package. -
lock
-
-
Constructor Details
-
OpenSSLLifecycleListener
public OpenSSLLifecycleListener()
-
-
Method Details
-
isAvailable
public static boolean isAvailable() -
lifecycleEvent
Primary entry point for startup and shutdown events.- Specified by:
lifecycleEvent
in interfaceLifecycleListener
- Parameters:
event
- The event that has occurred
-
getSSLEngine
-
setSSLEngine
-
getSSLRandomSeed
-
setSSLRandomSeed
-
getFIPSMode
-
setFIPSMode
-
isFIPSModeActive
public boolean isFIPSModeActive()
-