Class SystemCertsVerification
java.lang.Object
com.netscape.cms.selftests.SelfTest
com.netscape.cms.selftests.common.SystemCertsVerification
This class implements a self test to check the system certs
of the subsystem
- Version:
- $Revision: $, $Date: $
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final String////////////////////////Fields inherited from class SelfTest
engine, mConfig, mInstanceName, mPrefix, mSelfTestSubsystem, PROP_PLUGIN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the root configuration storage (self test parameters) associated with this subsystem.getSelfTestDescription(Locale locale) Retrieves description associated with an individual self test.Returns the name associated with this self test.voidinitSelfTest(SelfTestSubsystem subsystem, String instanceName, ConfigStore parameters) Initializes this subsystem with the configuration store associated with this instance name.voidrunSelfTest(LogEventListener logger) Execute an individual self test.voidStops this subsystem.voidNotifies this subsystem if it is in execution mode.Methods inherited from class SelfTest
getCMSEngine, setCMSEngine
-
Field Details
-
PROP_SUB_ID
-
PROP_FULL_CA_OCSP_VERIFY
- See Also:
-
-
Constructor Details
-
SystemCertsVerification
public SystemCertsVerification()
-
-
Method Details
-
initSelfTest
public void initSelfTest(SelfTestSubsystem subsystem, String instanceName, ConfigStore parameters) throws EDuplicateSelfTestException, EInvalidSelfTestException, EMissingSelfTestException Initializes this subsystem with the configuration store associated with this instance name.- Overrides:
initSelfTestin classSelfTest- Parameters:
subsystem- the associated subsysteminstanceName- the name of this self test instanceparameters- configuration store (self test parameters)- Throws:
EDuplicateSelfTestException- subsystem has duplicate name/valueEInvalidSelfTestException- subsystem has invalid name/valueEMissingSelfTestException- subsystem has missing name/value
-
startupSelfTest
Notifies this subsystem if it is in execution mode.- Specified by:
startupSelfTestin classSelfTest- Throws:
ESelfTestException- failed to start
-
shutdownSelfTest
public void shutdownSelfTest()Stops this subsystem. The subsystem may call shutdownSelfTest anytime after initialization.- Specified by:
shutdownSelfTestin classSelfTest
-
getSelfTestName
Returns the name associated with this self test. This method may return null if the self test has not been intialized.- Overrides:
getSelfTestNamein classSelfTest- Returns:
- instanceName of this self test
-
getSelfTestConfigStore
Returns the root configuration storage (self test parameters) associated with this subsystem.- Overrides:
getSelfTestConfigStorein classSelfTest- Returns:
- configuration store (self test parameters) of this subsystem
-
getSelfTestDescription
Retrieves description associated with an individual self test. This method may return null.- Specified by:
getSelfTestDescriptionin classSelfTest- Parameters:
locale- locale of the client that requests the description- Returns:
- description of self test
-
runSelfTest
Execute an individual self test.- Specified by:
runSelfTestin classSelfTest- Parameters:
logger- specifies logging subsystem- Throws:
Exception- self test exception
-