Enum AESParameters.Padding

java.lang.Object
java.lang.Enum<AESParameters.Padding>
de.hda.fbi.ucs.eucrite.parameters.AESParameters.Padding
All Implemented Interfaces:
Serializable, Comparable<AESParameters.Padding>, java.lang.constant.Constable
Enclosing class:
AESParameters

public static enum AESParameters.Padding
extends Enum<AESParameters.Padding>
The padding scheme determines how an incomplete block (that does not reach the full block length) is filled with additional bytes to make a complete block. This is necessary for all available modes except GCM. In this case you have to use NoPadding.
  • Enum Constant Details

  • Method Details

    • values

      public static AESParameters.Padding[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static AESParameters.Padding valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null