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
Modifier and Type Method Description SignatureFormgetSignatureForm()StringtoString()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_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_LTA
public static final SignatureLevel XAdES_BASELINE_LTA
-
XAdES_BASELINE_LT
public static final SignatureLevel XAdES_BASELINE_LT
-
XAdES_BASELINE_T
public static final SignatureLevel XAdES_BASELINE_T
-
XAdES_BASELINE_B
public static final SignatureLevel XAdES_BASELINE_B
-
CMS_NOT_ETSI
public static final SignatureLevel CMS_NOT_ETSI
-
CAdES_BASELINE_LTA
public static final SignatureLevel CAdES_BASELINE_LTA
-
CAdES_BASELINE_LT
public static final SignatureLevel CAdES_BASELINE_LT
-
CAdES_BASELINE_T
public static final SignatureLevel CAdES_BASELINE_T
-
CAdES_BASELINE_B
public static final SignatureLevel CAdES_BASELINE_B
-
CAdES_101733_C
public static final SignatureLevel CAdES_101733_C
-
CAdES_101733_X
public static final SignatureLevel CAdES_101733_X
-
CAdES_101733_A
public static final SignatureLevel CAdES_101733_A
-
PDF_NOT_ETSI
public static final SignatureLevel PDF_NOT_ETSI
-
PAdES_BASELINE_LTA
public static final SignatureLevel PAdES_BASELINE_LTA
-
PAdES_BASELINE_LT
public static final SignatureLevel PAdES_BASELINE_LT
-
PAdES_BASELINE_T
public static final SignatureLevel PAdES_BASELINE_T
-
PAdES_BASELINE_B
public static final SignatureLevel PAdES_BASELINE_B
-
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
-
UNKNOWN
public static final SignatureLevel UNKNOWN
-
-
Method Detail
-
values
public static SignatureLevel[] 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
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
SignatureFormdepending on theSignatureLevel
-
-