Intel

Developer Zone

FipsMode

com.intel.crypto

Class FipsMode

  • java.lang.Object
    • com.intel.crypto.FipsMode


  • public class FipsMode
    extends java.lang.Object

    This class exposes FIPS mode for the applets.

    By default operation of the system is non-FIPS mode. The applet should invoke FipsMode.enable() in order to enable FIPS mode in the system. Once this method was invoked, there in no way to change this state by using any other API. The applet should use FipsMode.getState() to indicate the current system mode of operation.

    • Method Summary

      Methods
      Modifier and Type Method and Description
      static void enable()
      Enable FIPS mode in the platform.
      static short getState()
      Indicates the current FIPS mode of operation.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, toString
    • Field Detail

      • FIPS_MODE_STATE_ENABLED

        public static final short FIPS_MODE_STATE_ENABLED
        Indicates that FIPS mode is currently enabled
        See Also:
        Constant Field Values
      • FIPS_MODE_STATE_DISABLED

        public static final short FIPS_MODE_STATE_DISABLED
        Indicates that FIPS mode is currently disabled
        See Also:
        Constant Field Values
    • Method Detail

      • enable

        public static void enable()
                           throws CryptoException
        Enable FIPS mode in the platform. Note: once this method was invoked, there is no option to change the FIPS state using any other API.
        Throws:
        NotSupportedException - if the SKU is not Corporate or not supported on the platform.
        OperationFailedException - can't enable FIPS mode. FW update is required.
        CryptoException - some internal error occurred.
      • getState

        public static short getState()
                              throws CryptoException
        Indicates the current FIPS mode of operation.
        Returns:
        FIPS_MODE_STATE_ENABLED if the FIPS mode is enabled, FIPS_MODE_STATE_DISABLED otherwise.
        Throws:
        NotSupportedException - if the SKU is not Corporate or not supported on the platform.
        CryptoException - some internal error occurred.