javax.crypto.Cipher.checkTransformation()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(10.3k)|赞(0)|评价(0)|浏览(181)

本文整理了Java中javax.crypto.Cipher.checkTransformation()方法的一些代码示例,展示了Cipher.checkTransformation()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Cipher.checkTransformation()方法的具体详情如下:
包路径:javax.crypto.Cipher
类名称:Cipher
方法名:checkTransformation

Cipher.checkTransformation介绍

暂无

代码示例

代码示例来源:origin: robovm/robovm

/**
 * Returns the maximum key length for the specified transformation.
 *
 * @param transformation
 *            the transformation name.
 * @return the maximum key length, currently {@code Integer.MAX_VALUE}.
 * @throws NoSuchAlgorithmException
 *             if no provider for the specified {@code transformation} can
 *             be found.
 * @throws NullPointerException
 *             if {@code transformation} is {@code null}.
 */
public static final int getMaxAllowedKeyLength(String transformation)
    throws NoSuchAlgorithmException {
  if (transformation == null) {
    throw new NullPointerException("transformation == null");
  }
  checkTransformation(transformation);
  //FIXME jurisdiction policy files
  return Integer.MAX_VALUE;
}

代码示例来源:origin: robovm/robovm

/**
   * Returns the maximum cipher parameter value for the specified
   * transformation. If there is no maximum limit, {@code null} is returned.
   *
   * @param transformation
   *            the transformation name.
   * @return a parameter spec holding the maximum value or {@code null}.
   *         Currently {@code null}.
   * @throws NoSuchAlgorithmException
   *             if no provider for the specified {@code transformation} can
   *             be found.
   * @throws NullPointerException
   *             if {@code transformation} is {@code null}.
   */
  public static final AlgorithmParameterSpec getMaxAllowedParameterSpec(
      String transformation) throws NoSuchAlgorithmException {
    if (transformation == null) {
      throw new NullPointerException("transformation == null");
    }
    checkTransformation(transformation);
    //FIXME jurisdiction policy files
    return null;
  }
}

代码示例来源:origin: robovm/robovm

String[] transf = checkTransformation(transformation);

代码示例来源:origin: MobiVM/robovm

/**
 * Returns the maximum key length for the specified transformation.
 *
 * @param transformation
 *            the transformation name.
 * @return the maximum key length, currently {@code Integer.MAX_VALUE}.
 * @throws NoSuchAlgorithmException
 *             if no provider for the specified {@code transformation} can
 *             be found.
 * @throws NullPointerException
 *             if {@code transformation} is {@code null}.
 */
public static final int getMaxAllowedKeyLength(String transformation)
    throws NoSuchAlgorithmException {
  if (transformation == null) {
    throw new NullPointerException("transformation == null");
  }
  checkTransformation(transformation);
  //FIXME jurisdiction policy files
  return Integer.MAX_VALUE;
}

代码示例来源:origin: ibinti/bugvm

/**
 * Returns the maximum key length for the specified transformation.
 *
 * @param transformation
 *            the transformation name.
 * @return the maximum key length, currently {@code Integer.MAX_VALUE}.
 * @throws NoSuchAlgorithmException
 *             if no provider for the specified {@code transformation} can
 *             be found.
 * @throws NullPointerException
 *             if {@code transformation} is {@code null}.
 */
public static final int getMaxAllowedKeyLength(String transformation)
    throws NoSuchAlgorithmException {
  if (transformation == null) {
    throw new NullPointerException("transformation == null");
  }
  checkTransformation(transformation);
  //FIXME jurisdiction policy files
  return Integer.MAX_VALUE;
}

代码示例来源:origin: com.bugvm/bugvm-rt

/**
 * Returns the maximum key length for the specified transformation.
 *
 * @param transformation
 *            the transformation name.
 * @return the maximum key length, currently {@code Integer.MAX_VALUE}.
 * @throws NoSuchAlgorithmException
 *             if no provider for the specified {@code transformation} can
 *             be found.
 * @throws NullPointerException
 *             if {@code transformation} is {@code null}.
 */
public static final int getMaxAllowedKeyLength(String transformation)
    throws NoSuchAlgorithmException {
  if (transformation == null) {
    throw new NullPointerException("transformation == null");
  }
  checkTransformation(transformation);
  //FIXME jurisdiction policy files
  return Integer.MAX_VALUE;
}

代码示例来源:origin: com.mobidevelop.robovm/robovm-rt

/**
 * Returns the maximum key length for the specified transformation.
 *
 * @param transformation
 *            the transformation name.
 * @return the maximum key length, currently {@code Integer.MAX_VALUE}.
 * @throws NoSuchAlgorithmException
 *             if no provider for the specified {@code transformation} can
 *             be found.
 * @throws NullPointerException
 *             if {@code transformation} is {@code null}.
 */
public static final int getMaxAllowedKeyLength(String transformation)
    throws NoSuchAlgorithmException {
  if (transformation == null) {
    throw new NullPointerException("transformation == null");
  }
  checkTransformation(transformation);
  //FIXME jurisdiction policy files
  return Integer.MAX_VALUE;
}

代码示例来源:origin: com.gluonhq/robovm-rt

/**
 * Returns the maximum key length for the specified transformation.
 *
 * @param transformation
 *            the transformation name.
 * @return the maximum key length, currently {@code Integer.MAX_VALUE}.
 * @throws NoSuchAlgorithmException
 *             if no provider for the specified {@code transformation} can
 *             be found.
 * @throws NullPointerException
 *             if {@code transformation} is {@code null}.
 */
public static final int getMaxAllowedKeyLength(String transformation)
    throws NoSuchAlgorithmException {
  if (transformation == null) {
    throw new NullPointerException("transformation == null");
  }
  checkTransformation(transformation);
  //FIXME jurisdiction policy files
  return Integer.MAX_VALUE;
}

代码示例来源:origin: MobiVM/robovm

/**
   * Returns the maximum cipher parameter value for the specified
   * transformation. If there is no maximum limit, {@code null} is returned.
   *
   * @param transformation
   *            the transformation name.
   * @return a parameter spec holding the maximum value or {@code null}.
   *         Currently {@code null}.
   * @throws NoSuchAlgorithmException
   *             if no provider for the specified {@code transformation} can
   *             be found.
   * @throws NullPointerException
   *             if {@code transformation} is {@code null}.
   */
  public static final AlgorithmParameterSpec getMaxAllowedParameterSpec(
      String transformation) throws NoSuchAlgorithmException {
    if (transformation == null) {
      throw new NullPointerException("transformation == null");
    }
    checkTransformation(transformation);
    //FIXME jurisdiction policy files
    return null;
  }
}

代码示例来源:origin: FlexoVM/flexovm

/**
 * Returns the maximum key length for the specified transformation.
 *
 * @param transformation
 *            the transformation name.
 * @return the maximum key length, currently {@code Integer.MAX_VALUE}.
 * @throws NoSuchAlgorithmException
 *             if no provider for the specified {@code transformation} can
 *             be found.
 * @throws NullPointerException
 *             if {@code transformation} is {@code null}.
 */
public static final int getMaxAllowedKeyLength(String transformation)
    throws NoSuchAlgorithmException {
  if (transformation == null) {
    throw new NullPointerException("transformation == null");
  }
  checkTransformation(transformation);
  //FIXME jurisdiction policy files
  return Integer.MAX_VALUE;
}

代码示例来源:origin: ibinti/bugvm

/**
   * Returns the maximum cipher parameter value for the specified
   * transformation. If there is no maximum limit, {@code null} is returned.
   *
   * @param transformation
   *            the transformation name.
   * @return a parameter spec holding the maximum value or {@code null}.
   *         Currently {@code null}.
   * @throws NoSuchAlgorithmException
   *             if no provider for the specified {@code transformation} can
   *             be found.
   * @throws NullPointerException
   *             if {@code transformation} is {@code null}.
   */
  public static final AlgorithmParameterSpec getMaxAllowedParameterSpec(
      String transformation) throws NoSuchAlgorithmException {
    if (transformation == null) {
      throw new NullPointerException("transformation == null");
    }
    checkTransformation(transformation);
    //FIXME jurisdiction policy files
    return null;
  }
}

代码示例来源:origin: com.bugvm/bugvm-rt

/**
   * Returns the maximum cipher parameter value for the specified
   * transformation. If there is no maximum limit, {@code null} is returned.
   *
   * @param transformation
   *            the transformation name.
   * @return a parameter spec holding the maximum value or {@code null}.
   *         Currently {@code null}.
   * @throws NoSuchAlgorithmException
   *             if no provider for the specified {@code transformation} can
   *             be found.
   * @throws NullPointerException
   *             if {@code transformation} is {@code null}.
   */
  public static final AlgorithmParameterSpec getMaxAllowedParameterSpec(
      String transformation) throws NoSuchAlgorithmException {
    if (transformation == null) {
      throw new NullPointerException("transformation == null");
    }
    checkTransformation(transformation);
    //FIXME jurisdiction policy files
    return null;
  }
}

代码示例来源:origin: com.mobidevelop.robovm/robovm-rt

/**
   * Returns the maximum cipher parameter value for the specified
   * transformation. If there is no maximum limit, {@code null} is returned.
   *
   * @param transformation
   *            the transformation name.
   * @return a parameter spec holding the maximum value or {@code null}.
   *         Currently {@code null}.
   * @throws NoSuchAlgorithmException
   *             if no provider for the specified {@code transformation} can
   *             be found.
   * @throws NullPointerException
   *             if {@code transformation} is {@code null}.
   */
  public static final AlgorithmParameterSpec getMaxAllowedParameterSpec(
      String transformation) throws NoSuchAlgorithmException {
    if (transformation == null) {
      throw new NullPointerException("transformation == null");
    }
    checkTransformation(transformation);
    //FIXME jurisdiction policy files
    return null;
  }
}

代码示例来源:origin: com.gluonhq/robovm-rt

/**
   * Returns the maximum cipher parameter value for the specified
   * transformation. If there is no maximum limit, {@code null} is returned.
   *
   * @param transformation
   *            the transformation name.
   * @return a parameter spec holding the maximum value or {@code null}.
   *         Currently {@code null}.
   * @throws NoSuchAlgorithmException
   *             if no provider for the specified {@code transformation} can
   *             be found.
   * @throws NullPointerException
   *             if {@code transformation} is {@code null}.
   */
  public static final AlgorithmParameterSpec getMaxAllowedParameterSpec(
      String transformation) throws NoSuchAlgorithmException {
    if (transformation == null) {
      throw new NullPointerException("transformation == null");
    }
    checkTransformation(transformation);
    //FIXME jurisdiction policy files
    return null;
  }
}

代码示例来源:origin: FlexoVM/flexovm

/**
   * Returns the maximum cipher parameter value for the specified
   * transformation. If there is no maximum limit, {@code null} is returned.
   *
   * @param transformation
   *            the transformation name.
   * @return a parameter spec holding the maximum value or {@code null}.
   *         Currently {@code null}.
   * @throws NoSuchAlgorithmException
   *             if no provider for the specified {@code transformation} can
   *             be found.
   * @throws NullPointerException
   *             if {@code transformation} is {@code null}.
   */
  public static final AlgorithmParameterSpec getMaxAllowedParameterSpec(
      String transformation) throws NoSuchAlgorithmException {
    if (transformation == null) {
      throw new NullPointerException("transformation == null");
    }
    checkTransformation(transformation);
    //FIXME jurisdiction policy files
    return null;
  }
}

代码示例来源:origin: com.bugvm/bugvm-rt

String[] transf = checkTransformation(transformation);

代码示例来源:origin: MobiVM/robovm

String[] transf = checkTransformation(transformation);

代码示例来源:origin: ibinti/bugvm

String[] transf = checkTransformation(transformation);

代码示例来源:origin: com.gluonhq/robovm-rt

String[] transf = checkTransformation(transformation);

代码示例来源:origin: com.mobidevelop.robovm/robovm-rt

String[] transf = checkTransformation(transformation);

相关文章