Enum TSLTypeEnum

java.lang.Object
java.lang.Enum<TSLTypeEnum>
eu.europa.esig.dss.enumerations.TSLTypeEnum
All Implemented Interfaces:
TSLType, UriBasedEnum, Serializable, Comparable<TSLTypeEnum>

public enum TSLTypeEnum extends Enum<TSLTypeEnum> implements TSLType
Defines common TSLType values supported by the implementation
  • Enum Constant Details

    • EUlistofthelists

      public static final TSLTypeEnum EUlistofthelists
      EU List of the Trusted Lists
    • EUgeneric

      public static final TSLTypeEnum EUgeneric
      EU Trusted Lists
    • AdESlistofthelists

      public static final TSLTypeEnum AdESlistofthelists
      AdES List of the Trusted Lists
  • Method Details

    • values

      public static TSLTypeEnum[] 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 TSLTypeEnum 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
    • getUri

      public String getUri()
      Description copied from interface: UriBasedEnum
      Returns a URI
      Specified by:
      getUri in interface UriBasedEnum
      Returns:
      String
    • getLabel

      public String getLabel()
      Description copied from interface: TSLType
      Gets label
      Specified by:
      getLabel in interface TSLType
      Returns:
      String