Enum Class TrustServiceStatus
java.lang.Object
java.lang.Enum<TrustServiceStatus>
eu.europa.esig.dss.validation.process.qualification.trust.TrustServiceStatus
- All Implemented Interfaces:
Serializable,Comparable<TrustServiceStatus>,Constable
ETSI TS 119 612 V2.2.1
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBefore eIDAS 'accreditationceased' statusBefore eIDAS 'accreditationrevoked' statusBefore eIDAS 'accredited' statusAfter eIDAS 'deprecatedatnationallevel' statusAfter eIDAS 'deprecatedbynationallaw' statusAfter eIDAS 'granted' statusAfter eIDAS 'recognisedatnationallevel' statusAfter eIDAS 'setbynationallaw' statusBefore eIDAS 'supervisionceased' statusBefore eIDAS 'supervisionincessation' statusBefore eIDAS 'supervisionrevoked' statusBefore eIDAS 'undersupervision' statusAfter eIDAS 'withdrawn' status -
Method Summary
Modifier and TypeMethodDescriptionstatic TrustServiceStatusThis method returns a correspondingTrustServiceStatusby the givenuriGets the user-friendly labelgetUri()Gets the URIstatic booleanGets whether the givenstatusis acceptable after eIDASstatic booleanGets whether the givenstatusis acceptable before eIDASbooleanWhether the status is related to post-eIDAS.booleanWhether the status is related to pre-eIDAS.booleanisValid()Whether the status identifies a valid trust servicestatic TrustServiceStatusReturns the enum constant of this class with the specified name.static TrustServiceStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNDER_SUPERVISION
Before eIDAS 'undersupervision' status -
SUPERVISION_OF_SERVICE_IN_CESSATION
Before eIDAS 'supervisionincessation' status -
SUPERVISION_CEASED
Before eIDAS 'supervisionceased' status -
SUPERVISION_REVOKED
Before eIDAS 'supervisionrevoked' status -
ACCREDITED
Before eIDAS 'accredited' status -
ACCREDITATION_CEASED
Before eIDAS 'accreditationceased' status -
ACCREDITATION_REVOKED
Before eIDAS 'accreditationrevoked' status -
GRANTED
After eIDAS 'granted' status -
WITHDRAWN
After eIDAS 'withdrawn' status -
SET_BY_NATIONAL_LAW
After eIDAS 'setbynationallaw' status -
RECONIZED_AT_NATIONAL_LEVEL
After eIDAS 'recognisedatnationallevel' status -
DEPRECATED_BY_NATIONAL_LAW
After eIDAS 'deprecatedbynationallaw' status -
DEPRECATED_AT_NATIONAL_LEVEL
After eIDAS 'deprecatedatnationallevel' status
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getShortName
-
getUri
-
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
-
isAcceptableStatusAfterEIDAS
-
fromUri
This method returns a correspondingTrustServiceStatusby the givenuri- Parameters:
uri-Stringto getTrustServiceStatusfor- Returns:
TrustServiceStatus
-