java.lang.Object
net.i2p.crypto.CryptoCheck

public class CryptoCheckextends Object
Moved from CryptixAESEngine and net.i2p.router.tasks.CryptoChecker. This class does not do any logging. See CryptoChecker for the logging.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final boolean
    True when the unlimited strength policy is installed.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
    Utility class, not intended for instantiation.
  • Method Summary

    All Methods
    Modifier and Type
    Method
    Description
    static boolean
    Return whether unlimited strength is available.
    static void
    main(String[] args)
    Print whether unlimited strength crypto is available.

    Methods inherited from class Object

    clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • _isUnlimited

      private static final boolean _isUnlimited
      True when the unlimited strength policy is installed.
  • Constructor Details

    • CryptoCheck

      private CryptoCheck()
      Utility class, not intended for instantiation.
  • Method Details

    • isUnlimited

      public static boolean isUnlimited()
      Return whether unlimited strength is available.
      Returns:
      true if the JCE permits AES keys of 256 bits or more
    • main

      public static void main(String[] args)
      Print whether unlimited strength crypto is available.
      Parameters:
      args - ignored; the result comes from the static initializer