public static final AlgorithmParameterSpec getMaxAllowedParameterSpec (String transformation) throws NoSuchAlgorithmException

Returns an AlgorithmParameterSpec object which contains the maximum cipher parameter value according to the jurisdiction policy file. If JCE unlimited strength jurisdiction policy files are installed or there is no maximum limit on the parameters for the specified transformation in the policy file, null will be returned.

Parameters:
transformation    the cipher transformation.

Returns:  an AlgorithmParameterSpec which holds the maximum value or null.

Exceptions:
NullPointerException    if transformation is null.
NoSuchAlgorithmException    if transformation is not a valid transformation, i.e. in the form of "algorithm" or "algorithm/mode/padding".

Since:  1.5