Enum Class EvidenceRecordIncorporationType

java.lang.Object
java.lang.Enum<EvidenceRecordIncorporationType>
eu.europa.esig.dss.enumerations.EvidenceRecordIncorporationType
All Implemented Interfaces:
Serializable, Comparable<EvidenceRecordIncorporationType>, Constable

public enum EvidenceRecordIncorporationType extends Enum<EvidenceRecordIncorporationType>
Defines an unsigned attribute type within a CAdES signature for incorporation of an evidence record (i.e. internal vs external).
  • Enum Constant Details

    • INTERNAL_EVIDENCE_RECORD

      public static final EvidenceRecordIncorporationType 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

      public static final EvidenceRecordIncorporationType 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

      public static EvidenceRecordIncorporationType[] 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

      public static EvidenceRecordIncorporationType valueOf(String name)
      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 name
      NullPointerException - if the argument is null