Package eu.europa.esig.dss.enumerations
Enum Class AdditionalServiceInformation
java.lang.Object
java.lang.Enum<AdditionalServiceInformation>
eu.europa.esig.dss.enumerations.AdditionalServiceInformation
- All Implemented Interfaces:
Serializable,Comparable<AdditionalServiceInformation>,Constable
This enumeration represents an AdditionalServiceInformation element content present in a Trusted List
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription"http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/ForeSeals": in order to further specify the "Service type identifier" identified service as being provided for electronic seals;"http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/ForeSignatures": in order to further specify the "Service type identifier" identified service as being provided for electronic signatures;"http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/ForWebSiteAuthentication": in order to further specify the "Service type identifier" identified service as being provided for web site authentication; -
Method Summary
Modifier and TypeMethodDescriptionstatic AdditionalServiceInformationThis method returnsAdditionalServiceInformationfor the givenurigetUri()Gets URI of the AdditionalServiceInformationstatic booleanisForeSeals(String additionalServiceInfo) Checks if the given additional service info is "for eSeals" identifierstatic booleanisForeSeals(List<String> additionalServiceInfos) Checks if the given list of additional service infos contains "for eSeals" identifierstatic booleanisForeSealsOnly(List<String> additionalServiceInfos) Checks if the given list of additional service infos only contains "for eSeals" identifierstatic booleanisForeSignatures(String additionalServiceInfo) Checks if the given additional service info is "for eSignatures" identifierstatic booleanisForeSignatures(List<String> additionalServiceInfos) Checks if the given list of additional service infos contains "for eSignatures" identifierstatic booleanisForeSignaturesOnly(List<String> additionalServiceInfos) Checks if the given list of additional service infos only contains "for eSignatures" identifierstatic booleanisForWebAuth(String additionalServiceInfo) Checks if the given additional service info is "for web authentication" identifierstatic booleanisForWebAuth(List<String> additionalServiceInfos) Checks if the given list of additional service infos contains "for web authentication" identifierstatic booleanisForWebAuthOnly(List<String> additionalServiceInfos) Checks if the given list of additional service infos only contains "for web authentication" identifierstatic AdditionalServiceInformationReturns the enum constant of this class with the specified name.static AdditionalServiceInformation[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FOR_ESIGNATURES
"http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/ForeSignatures": in order to further specify the "Service type identifier" identified service as being provided for electronic signatures; -
FOR_ESEALS
"http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/ForeSeals": in order to further specify the "Service type identifier" identified service as being provided for electronic seals; -
FOR_WEB_AUTHENTICATION
"http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/ForWebSiteAuthentication": in order to further specify the "Service type identifier" identified service as being provided for web site authentication;
-
-
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
-
getUri
-
getByUri
This method returnsAdditionalServiceInformationfor the givenuri- Parameters:
uri-Stringto getAdditionalServiceInformationfor- Returns:
AdditionalServiceInformationif exists, null otherwise
-
isForeSignatures
-
isForeSeals
-
isForWebAuth
-
isForeSignatures
Checks if the given list of additional service infos contains "for eSignatures" identifier- Parameters:
additionalServiceInfos- a list ofStrings to verify- Returns:
- TRUE if the list contains "for eSignatures" identifier, FALSE otherwise
-
isForeSeals
-
isForWebAuth
Checks if the given list of additional service infos contains "for web authentication" identifier- Parameters:
additionalServiceInfos- a list ofStrings to verify- Returns:
- TRUE if the list contains "for web authentication" identifier, FALSE otherwise
-
isForeSignaturesOnly
Checks if the given list of additional service infos only contains "for eSignatures" identifier- Parameters:
additionalServiceInfos- a list ofStrings to verify- Returns:
- TRUE if the list only contains "for eSignatures" identifier, FALSE otherwise
-
isForeSealsOnly
Checks if the given list of additional service infos only contains "for eSeals" identifier- Parameters:
additionalServiceInfos- a list ofStrings to verify- Returns:
- TRUE if the list only contains "for eSeals" identifier, FALSE otherwise
-
isForWebAuthOnly
Checks if the given list of additional service infos only contains "for web authentication" identifier- Parameters:
additionalServiceInfos- a list ofStrings to verify- Returns:
- TRUE if the list only contains "for web authentication" identifier, FALSE otherwise
-