code: public static final AlgorithmParameterSpec getMaxAllowedParameterSpec(
              String transformation) throws NoSuchAlgorithmException {
          // Android-changed: Remove references to CryptoPermission and throw early
          // if transformation == null or isn't valid.
          //
          // CryptoPermission cp = getConfiguredPermission(transformation);
          // return cp.getAlgorithmParameterSpec();
          if (transformation == null) {
              throw new NullPointerException("transformation == null");
          }
          // Throws NoSuchAlgorithmException if necessary.
          tokenizeTransformation(transformation);
          return null;
      }
docs: 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.
  
  @param transformation the cipher transformation.
  @return an AlgorithmParameterSpec which holds the maximum
  value or null.
  @exception NullPointerException if <code>transformation</code>
  is null.
  @exception NoSuchAlgorithmException if <code>transformation</code>
  is not a valid transformation, i.e. in the form of "algorithm" or
  "algorithm/mode/padding".
  @since 1.5