Module jpms_dss_enumerations
Package eu.europa.esig.dss.enumerations
Enum Class EvidenceRecordIncorporationType
java.lang.Object
java.lang.Enum<EvidenceRecordIncorporationType>
eu.europa.esig.dss.enumerations.EvidenceRecordIncorporationType
- All Implemented Interfaces:
Serializable,Comparable<EvidenceRecordIncorporationType>,Constable
Defines an unsigned attribute type within a CAdES signature for incorporation of an evidence record
(i.e. internal vs external).
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDefines the external-evidence-records attribute (clause 5.3) also protecting the whole SignedData instance not containing an eContent element within encapContentInfo (a detached signature), and the external signed data.Defines the internal-evidence-records attribute (clause 5.2) protecting the whole SignedData instance and used in cases of attached signatures. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static EvidenceRecordIncorporationType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INTERNAL_EVIDENCE_RECORD
Defines the internal-evidence-records attribute (clause 5.2) protecting the whole SignedData instance and used in cases of attached signatures. -
EXTERNAL_EVIDENCE_RECORD
Defines the external-evidence-records attribute (clause 5.3) also protecting the whole SignedData instance not containing an eContent element within encapContentInfo (a detached signature), and the external signed data.
-
-
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
-