Class Transformation

java.lang.Object
org.apache.commons.crypto.utils.Transformation

public class Transformation extends Object
Transformation algorithm, mode and padding, in the format "Algorithm/Mode/Padding", for example "AES/CBC/NoPadding".
Since:
1.2.0
  • Field Details

  • Constructor Details

    • Transformation

      private Transformation(String algorithm, String mode, Padding padding)
      Constructs a new instance.
      Parameters:
      algorithm - the algorithm name
      mode - the mode name
      padding - the padding name
    • Transformation

      private Transformation(String algorithm, String mode, String padding) throws NoSuchPaddingException
      Constructs a new instance.
      Parameters:
      algorithm - the algorithm name
      mode - the mode name
      padding - the padding name
      Throws:
      NoSuchPaddingException - Thrown when the padding is unsupported.
  • Method Details