Lines Matching refs:transformation

278      * @param transformation    the name of the transformation, e.g.,
282 * @param provider the JCE provider that supplies the transformation,
289 String transformation,
300 algorithm = transformation;
323 if (transformation != null) {
324 contextCipher = constructCipher(transformation, digestMethod);
355 * Validate the transformation argument of getInstance or getProviderInstance
357 * @param transformation the name of the transformation, e.g.,
361 private static void validateTransformation(String transformation) {
362 if (null == transformation) {
365 if (!isValidEncryptionAlgorithm(transformation)) {
372 * transformation and operates on the specified context document.
375 * requested transformation, an instance of Cipher containing that
376 * implementation is returned. If the transformation is not available in
379 * <b>NOTE<sub>1</sub>:</b> The transformation name does not follow the same
391 * @param transformation the name of the transformation, e.g.,
398 public static XMLCipher getInstance(String transformation) throws XMLEncryptionException {
400 log.log(java.util.logging.Level.FINE, "Getting XMLCipher with transformation");
402 validateTransformation(transformation);
403 return new XMLCipher(transformation, null, null, null);
408 * transformation, operates on the specified context document and serializes
413 * @param transformation the name of the transformation
419 public static XMLCipher getInstance(String transformation, String canon)
422 log.log(java.util.logging.Level.FINE, "Getting XMLCipher with transformation and c14n algorithm");
424 validateTransformation(transformation);
425 return new XMLCipher(transformation, null, canon, null);
430 * transformation, operates on the specified context document and serializes
435 * @param transformation the name of the transformation
442 public static XMLCipher getInstance(String transformation, String canon, String digestMethod)
445 log.log(java.util.logging.Level.FINE, "Getting XMLCipher with transformation and c14n algorithm");
447 validateTransformation(transformation);
448 return new XMLCipher(transformation, null, canon, digestMethod);
453 * transformation and operates on the specified context document.
455 * @param transformation the name of the transformation
456 * @param provider the JCE provider that supplies the transformation
460 public static XMLCipher getProviderInstance(String transformation, String provider)
463 log.log(java.util.logging.Level.FINE, "Getting XMLCipher with transformation and provider");
468 validateTransformation(transformation);
469 return new XMLCipher(transformation, provider, null, null);
474 * transformation, operates on the specified context document and serializes
479 * @param transformation the name of the transformation
480 * @param provider the JCE provider that supplies the transformation
487 String transformation, String provider, String canon
490 log.log(java.util.logging.Level.FINE, "Getting XMLCipher with transformation, provider and c14n algorithm");
495 validateTransformation(transformation);
496 return new XMLCipher(transformation, provider, canon, null);
501 * transformation, operates on the specified context document and serializes
506 * @param transformation the name of the transformation
507 * @param provider the JCE provider that supplies the transformation
515 String transformation, String provider, String canon, String digestMethod
518 log.log(java.util.logging.Level.FINE, "Getting XMLCipher with transformation, provider and c14n algorithm");
523 validateTransformation(transformation);
524 return new XMLCipher(transformation, provider, canon, digestMethod);
529 * transformation, and can therefore only be used for decrypt or
545 * transformation, and can therefore only be used for decrypt or
552 * @param provider the JCE provider that supplies the transformation
819 throw new XMLEncryptionException("XMLCipher instance without transformation specified");
857 throw new XMLEncryptionException("XMLCipher instance without transformation specified");
1097 throw new XMLEncryptionException("XMLCipher instance without transformation specified");
1332 throw new XMLEncryptionException("XMLCipher instance without transformation specified");