Package eu.europa.esig.dss.enumerations
Enum SignatureLevel
- All Implemented Interfaces:
Serializable
,Comparable<SignatureLevel>
Signature profiles (form+level) handled by the SD-DSS framework.
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionReturns the correspondingSignatureForm
toString()
static SignatureLevel
valueByName
(String name) Returns the SignatureLevel based on the name (String)static SignatureLevel
Returns the enum constant of this type with the specified name.static SignatureLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
XML_NOT_ETSI
-
XAdES_BES
-
XAdES_EPES
-
XAdES_T
-
XAdES_LT
-
XAdES_C
-
XAdES_X
-
XAdES_XL
-
XAdES_A
-
XAdES_BASELINE_B
-
XAdES_BASELINE_T
-
XAdES_BASELINE_LT
-
XAdES_BASELINE_LTA
-
CMS_NOT_ETSI
-
CAdES_BES
-
CAdES_EPES
-
CAdES_T
-
CAdES_LT
-
CAdES_C
-
CAdES_X
-
CAdES_XL
-
CAdES_A
-
CAdES_BASELINE_B
-
CAdES_BASELINE_T
-
CAdES_BASELINE_LT
-
CAdES_BASELINE_LTA
-
PDF_NOT_ETSI
-
PKCS7_B
-
PKCS7_T
-
PKCS7_LT
-
PKCS7_LTA
-
PAdES_BASELINE_B
-
PAdES_BASELINE_T
-
PAdES_BASELINE_LT
-
PAdES_BASELINE_LTA
-
JSON_NOT_ETSI
-
JAdES_BASELINE_B
-
JAdES_BASELINE_T
-
JAdES_BASELINE_LT
-
JAdES_BASELINE_LTA
-
UNKNOWN
-
-
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
-
valueByName
Returns the SignatureLevel based on the name (String)- Parameters:
name
- the signature level's name to retrieve- Returns:
- the SignatureLevel
-
toString
- Overrides:
toString
in classEnum<SignatureLevel>
-
getSignatureForm
Returns the correspondingSignatureForm
- Returns:
- the
SignatureForm
depending on theSignatureLevel
-