java.lang.Object
net.i2p.crypto.CryptoCheck
Moved from
CryptixAESEngine and net.i2p.router.tasks.CryptoChecker. This class does not do any logging. See CryptoChecker for the logging.Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final booleanTrue when the unlimited strength policy is installed.Constructor Summary
ConstructorsMethod Summary
All MethodsModifier and TypeMethodDescriptionstatic booleanReturn whether unlimited strength is available.static voidPrint whether unlimited strength crypto is available.
Field Details
_isUnlimited
private static final boolean _isUnlimitedTrue 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
Print whether unlimited strength crypto is available.- Parameters:
args- ignored; the result comes from the static initializer