com.ibm.crypto.fips.provider

Class SelfTest

  1. java.lang.Object
  2. extended bycom.ibm.crypto.fips.provider.SelfTest

  1. public final class SelfTest
  2. extends java.lang.Object

Constructor Summary

Constructor and Description
SelfTest()

Method Summary

Modifier and Type Method and Description
  1. java.lang.Throwable
getSelfTestFailure()
Method identifies any failures associated with the last self test
  1. static
  2. boolean
isFipsRunnable()
Method identifies if the cryptographic module is FIPS 140-2 runable, in that the self test has completed with no failures.
  1. boolean
isSelfTestInProgress()
Method identifies if a self test is currently in progress
  1. boolean
runSelfTest()
Method initiates a new self test
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

SelfTest

  1. public SelfTest()

Method Detail

isSelfTestInProgress

  1. public boolean isSelfTestInProgress( )
Method identifies if a self test is currently in progress

getSelfTestFailure

  1. public java.lang.Throwable getSelfTestFailure( )
Method identifies any failures associated with the last self test

runSelfTest

  1. public boolean runSelfTest()
Method initiates a new self test

isFipsRunnable

  1. public static boolean isFipsRunnable( )
Method identifies if the cryptographic module is FIPS 140-2 runable, in that the self test has completed with no failures. This method with check the static variable SelfTestSuceeded for true, if true it will return true. If SelfTestSuceeded is not true it will check the static variable SelfTestInProgress If SelfTestInProgress is true it will loop and re-check SelfTestSuceeded for a set number of loops.