Enum ECompressionType

java.lang.Object
java.lang.Enum<ECompressionType>
com.helger.as2lib.crypto.ECompressionType
All Implemented Interfaces:
com.helger.commons.id.IHasID<String>, Serializable, Comparable<ECompressionType>, java.lang.constant.Constable

public enum ECompressionType extends Enum<ECompressionType> implements com.helger.commons.id.IHasID<String>
Define the supported SMIME compression types for as2-lib.
Author:
Philip Helger
  • Enum Constant Details

  • Method Details

    • values

      public static ECompressionType[] 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 ECompressionType 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
    • getID

      @Nonnull @Nonempty public String getID()
      Specified by:
      getID in interface com.helger.commons.id.IHasID<String>
    • createOutputCompressor

      @Nonnull public abstract org.bouncycastle.operator.OutputCompressor createOutputCompressor()
      Returns:
      The OutputCompressor instance suitable for this compression type.
    • getFromIDCaseInsensitiveOrNull

      @Nullable public static ECompressionType getFromIDCaseInsensitiveOrNull(@Nullable String sID)