Package eu.europa.esig.dss.enumerations
Enum SignatureLevel
- java.lang.Object
-
- java.lang.Enum<SignatureLevel>
-
- eu.europa.esig.dss.enumerations.SignatureLevel
-
- All Implemented Interfaces:
Serializable,Comparable<SignatureLevel>
public enum SignatureLevel extends Enum<SignatureLevel>
Signature profiles (form+level) handled by the SD-DSS framework.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SignatureFormgetSignatureForm()Returns the correspondingSignatureFormStringtoString()static SignatureLevelvalueByName(String name)Returns the SignatureLevel based on the name (String)static SignatureLevelvalueOf(String name)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 Detail
-
XML_NOT_ETSI
public static final SignatureLevel XML_NOT_ETSI
-
XAdES_BES
public static final SignatureLevel XAdES_BES
-
XAdES_EPES
public static final SignatureLevel XAdES_EPES
-
XAdES_T
public static final SignatureLevel XAdES_T
-
XAdES_LT
public static final SignatureLevel XAdES_LT
-
XAdES_C
public static final SignatureLevel XAdES_C
-
XAdES_X
public static final SignatureLevel XAdES_X
-
XAdES_XL
public static final SignatureLevel XAdES_XL
-
XAdES_A
public static final SignatureLevel XAdES_A
-
XAdES_BASELINE_B
public static final SignatureLevel XAdES_BASELINE_B
-
XAdES_BASELINE_T
public static final SignatureLevel XAdES_BASELINE_T
-
XAdES_BASELINE_LT
public static final SignatureLevel XAdES_BASELINE_LT
-
XAdES_BASELINE_LTA
public static final SignatureLevel XAdES_BASELINE_LTA
-
CMS_NOT_ETSI
public static final SignatureLevel CMS_NOT_ETSI
-
CAdES_BES
public static final SignatureLevel CAdES_BES
-
CAdES_EPES
public static final SignatureLevel CAdES_EPES
-
CAdES_T
public static final SignatureLevel CAdES_T
-
CAdES_LT
public static final SignatureLevel CAdES_LT
-
CAdES_C
public static final SignatureLevel CAdES_C
-
CAdES_X
public static final SignatureLevel CAdES_X
-
CAdES_XL
public static final SignatureLevel CAdES_XL
-
CAdES_A
public static final SignatureLevel CAdES_A
-
CAdES_BASELINE_B
public static final SignatureLevel CAdES_BASELINE_B
-
CAdES_BASELINE_T
public static final SignatureLevel CAdES_BASELINE_T
-
CAdES_BASELINE_LT
public static final SignatureLevel CAdES_BASELINE_LT
-
CAdES_BASELINE_LTA
public static final SignatureLevel CAdES_BASELINE_LTA
-
PDF_NOT_ETSI
public static final SignatureLevel PDF_NOT_ETSI
-
PKCS7_B
public static final SignatureLevel PKCS7_B
-
PKCS7_T
public static final SignatureLevel PKCS7_T
-
PKCS7_LT
public static final SignatureLevel PKCS7_LT
-
PKCS7_LTA
public static final SignatureLevel PKCS7_LTA
-
PAdES_BASELINE_B
public static final SignatureLevel PAdES_BASELINE_B
-
PAdES_BASELINE_T
public static final SignatureLevel PAdES_BASELINE_T
-
PAdES_BASELINE_LT
public static final SignatureLevel PAdES_BASELINE_LT
-
PAdES_BASELINE_LTA
public static final SignatureLevel PAdES_BASELINE_LTA
-
JSON_NOT_ETSI
public static final SignatureLevel JSON_NOT_ETSI
-
JAdES_BASELINE_B
public static final SignatureLevel JAdES_BASELINE_B
-
JAdES_BASELINE_T
public static final SignatureLevel JAdES_BASELINE_T
-
JAdES_BASELINE_LT
public static final SignatureLevel JAdES_BASELINE_LT
-
JAdES_BASELINE_LTA
public static final SignatureLevel JAdES_BASELINE_LTA
-
UNKNOWN
public static final SignatureLevel UNKNOWN
-
XAdES_BASELINE_LT_TM
public static final SignatureLevel XAdES_BASELINE_LT_TM
-
XAdES_BASELINE_B_EPES
public static final SignatureLevel XAdES_BASELINE_B_EPES
-
-
Method Detail
-
values
public static SignatureLevel[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SignatureLevel c : SignatureLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SignatureLevel valueOf(String name)
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
public static SignatureLevel valueByName(String name)
Returns the SignatureLevel based on the name (String)- Parameters:
name- the signature level's name to retrieve- Returns:
- the SignatureLevel
-
toString
public String toString()
- Overrides:
toStringin classEnum<SignatureLevel>
-
getSignatureForm
public SignatureForm getSignatureForm()
Returns the correspondingSignatureForm- Returns:
- the
SignatureFormdepending on theSignatureLevel
-
-