Class TinkFips


  • public final class TinkFips
    extends java.lang.Object
    Static methods for checking if Tink has been built in FIPS-mode.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void restrictToFips()  
      static boolean useOnlyFips()
      Returns true if the FIPS-mode has been enabled at build time or runtime.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • useOnlyFips

        public static boolean useOnlyFips()
        Returns true if the FIPS-mode has been enabled at build time or runtime.
      • restrictToFips

        public static void restrictToFips()
                                   throws java.security.GeneralSecurityException
        Throws:
        java.security.GeneralSecurityException