Package eu.europa.esig.dss.enumerations
Enum SignatureForm
- java.lang.Object
-
- java.lang.Enum<SignatureForm>
-
- eu.europa.esig.dss.enumerations.SignatureForm
-
- All Implemented Interfaces:
Serializable,Comparable<SignatureForm>
public enum SignatureForm extends Enum<SignatureForm>
Different signature forms.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CAdESA CMS-based signature according to EN 319 122JAdESA JSON-based signature according to TS 119 182PAdESA PDF-based signature according to EN 319 142PKCS7A PDF-based signature according to ISO 32000XAdESAn XML-based signature according to EN 319 132
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SignatureFormvalueOf(String name)Returns the enum constant of this type with the specified name.static SignatureForm[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
XAdES
public static final SignatureForm XAdES
An XML-based signature according to EN 319 132
-
CAdES
public static final SignatureForm CAdES
A CMS-based signature according to EN 319 122
-
JAdES
public static final SignatureForm JAdES
A JSON-based signature according to TS 119 182
-
PAdES
public static final SignatureForm PAdES
A PDF-based signature according to EN 319 142
-
PKCS7
public static final SignatureForm PKCS7
A PDF-based signature according to ISO 32000
-
-
Method Detail
-
values
public static SignatureForm[] 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 (SignatureForm c : SignatureForm.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SignatureForm 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
-
-