java.lang.Object
java.lang.Enum<TrustedServiceStatus>
eu.europa.esig.dss.validation.process.qualification.trust.TrustedServiceStatus
All Implemented Interfaces:
Serializable, Comparable<TrustedServiceStatus>

public enum TrustedServiceStatus extends Enum<TrustedServiceStatus>
ETSI TS 119 612 V2.2.1
  • Enum Constant Details

    • UNDER_SUPERVISION

      public static final TrustedServiceStatus UNDER_SUPERVISION
      Before eIDAS 'undersupervision' status
    • SUPERVISION_OF_SERVICE_IN_CESSATION

      public static final TrustedServiceStatus SUPERVISION_OF_SERVICE_IN_CESSATION
      Before eIDAS 'supervisionincessation' status
    • SUPERVISION_CEASED

      public static final TrustedServiceStatus SUPERVISION_CEASED
      Before eIDAS 'supervisionceased' status
    • SUPERVISION_REVOKED

      public static final TrustedServiceStatus SUPERVISION_REVOKED
      Before eIDAS 'supervisionrevoked' status
    • ACCREDITED

      public static final TrustedServiceStatus ACCREDITED
      Before eIDAS 'accredited' status
    • ACCREDITATION_CEASED

      public static final TrustedServiceStatus ACCREDITATION_CEASED
      Before eIDAS 'accreditationceased' status
    • ACCREDITATION_REVOKED

      public static final TrustedServiceStatus ACCREDITATION_REVOKED
      Before eIDAS 'accreditationrevoked' status
    • GRANTED

      public static final TrustedServiceStatus GRANTED
      After eIDAS 'granted' status
    • WITHDRAWN

      public static final TrustedServiceStatus WITHDRAWN
      After eIDAS 'withdrawn' status
    • SET_BY_NATIONAL_LAW

      public static final TrustedServiceStatus SET_BY_NATIONAL_LAW
      After eIDAS 'setbynationallaw' status
    • RECONIZED_AT_NATIONAL_LEVEL

      public static final TrustedServiceStatus RECONIZED_AT_NATIONAL_LEVEL
      After eIDAS 'recognisedatnationallevel' status
    • DEPRECATED_BY_NATIONAL_LAW

      public static final TrustedServiceStatus DEPRECATED_BY_NATIONAL_LAW
      After eIDAS 'deprecatedbynationallaw' status
    • DEPRECATED_AT_NATIONAL_LEVEL

      public static final TrustedServiceStatus DEPRECATED_AT_NATIONAL_LEVEL
      After eIDAS 'deprecatedatnationallevel' status
  • Method Details

    • values

      public static TrustedServiceStatus[] 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 TrustedServiceStatus 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
    • getShortName

      public String getShortName()
      Gets the user-friendly label
      Returns:
      String
    • getUri

      public String getUri()
      Gets the URI
      Returns:
      String
    • isPreEidas

      public boolean isPreEidas()
      Whether the status is related to pre-eIDAS.
      Returns:
      TRUE if the status is related to pre-eIDAS, FALSE otherwise
    • isPostEidas

      public boolean isPostEidas()
      Whether the status is related to post-eIDAS.
      Returns:
      TRUE if the status is related to post-eIDAS, FALSE otherwise
    • isValid

      public boolean isValid()
      Whether the status identifies a valid trust service
      Returns:
      whether the status identifies a valid trust service
    • isAcceptableStatusBeforeEIDAS

      public static boolean isAcceptableStatusBeforeEIDAS(String uri)
      Gets whether the given status is acceptable before eIDAS
      Parameters:
      uri - String identifying the trust service status
      Returns:
      TRUE if the status is acceptable before eIDAS, FALSE otherwise
    • isAcceptableStatusAfterEIDAS

      public static boolean isAcceptableStatusAfterEIDAS(String uri)
      Gets whether the given status is acceptable after eIDAS
      Parameters:
      uri - String identifying the trust service status
      Returns:
      TRUE if the status is acceptable after eIDAS, FALSE otherwise
    • fromUri

      public static TrustedServiceStatus fromUri(String uri)
      This method returns a corresponding TrustedServiceStatus by the given uri
      Parameters:
      uri - String to get TrustedServiceStatus for
      Returns:
      TrustedServiceStatus