Enum TrustedServiceStatus
java.lang.Object
java.lang.Enum<TrustedServiceStatus>
eu.europa.esig.dss.validation.process.qualification.trust.TrustedServiceStatus
- All Implemented Interfaces:
Serializable,Comparable<TrustedServiceStatus>
ETSI TS 119 612 V2.2.1
-
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 TrustedServiceStatusThis method returns a correspondingTrustedServiceStatusby 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 TrustedServiceStatusReturns the enum constant of this type with the specified name.static TrustedServiceStatus[]values()Returns an array containing the constants of this enum type, 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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException- if the argument is null
-
getShortName
Gets the user-friendly label- Returns:
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
Gets whether the givenstatusis acceptable before eIDAS- Parameters:
uri-Stringidentifying the trust service status- Returns:
- TRUE if the status is acceptable before eIDAS, FALSE otherwise
-
isAcceptableStatusAfterEIDAS
Gets whether the givenstatusis acceptable after eIDAS- Parameters:
uri-Stringidentifying the trust service status- Returns:
- TRUE if the status is acceptable after eIDAS, FALSE otherwise
-
fromUri
This method returns a correspondingTrustedServiceStatusby the givenuri- Parameters:
uri-Stringto getTrustedServiceStatusfor- Returns:
TrustedServiceStatus
-