Enum Class CryptographicSuiteRecommendation
java.lang.Object
java.lang.Enum<CryptographicSuiteRecommendation>
eu.europa.esig.dss.enumerations.CryptographicSuiteRecommendation
- All Implemented Interfaces:
Serializable, Comparable<CryptographicSuiteRecommendation>, Constable
The recommendation element shall be used to indicate that a mechanism and its parameters are either
Recommended (R) or Legacy (L), as defined in ETSI TS 119 312 [i.2], clause 3.1.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLegacy cryptographic algorithmRecommended cryptographic algorithm -
Method Summary
Modifier and TypeMethodDescriptionReturns aCryptographicSuiteRecommendationby the given valuegetValue()Gets the value of the recommendation typeReturns the enum constant of this class with the specified name.static CryptographicSuiteRecommendation[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RECOMMENDED
Recommended cryptographic algorithm -
LEGACY
Legacy cryptographic algorithm
-
-
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
-
getValue
-
fromValue
Returns aCryptographicSuiteRecommendationby the given value- Parameters:
value-Stringto getCryptographicSuiteRecommendationfor- Returns:
CryptographicSuiteRecommendation
-