public static boolean checkSupported(String xform, int keyLength)
xform
- The full cipher transformation - e.g., AES/CBC/NoPadding -
never null
/emptykeyLength
- The required key length in bits - always positivetrue
if the cipher transformation and required
key length are supportedCipher.getMaxAllowedKeyLength(String)
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.