Class CommitmentTypeIndication

java.lang.Object
eu.europa.esig.dss.validation.CommitmentTypeIndication

public class CommitmentTypeIndication extends Object
This class represents the commitment type indication identifiers extracted from the signature.
  • Constructor Details

    • CommitmentTypeIndication

      public CommitmentTypeIndication(String identifier)
      The default constructor
      Parameters:
      identifier - String URI or OID
  • Method Details

    • getIdentifier

      public String getIdentifier()
      Gets the identifier
      Returns:
      String URI or OID
    • getDescription

      public String getDescription()
      Gets the description
      Returns:
      String
    • setDescription

      public void setDescription(String description)
      Sets the description
      Parameters:
      description - String
    • getDocumentReferences

      public List<String> getDocumentReferences()
      Gets the document references
      Returns:
      a list of Strings
    • setDocumentReferences

      public void setDocumentReferences(List<String> documentReferences)
      Sets the document references
      Parameters:
      documentReferences - a list of Strings
    • getObjectReferences

      public List<String> getObjectReferences()
      Gets a list of signed data objects referenced by the current CommitmentType
      Returns:
      a list of Strings
    • setObjectReferences

      public void setObjectReferences(List<String> objectReferences)
      Sets a list of signed data objects referenced by the current CommitmentType
      Parameters:
      objectReferences - a list of Strings
    • isAllDataSignedObjects

      public boolean isAllDataSignedObjects()
      Gets if AllDataSignedObjects are referenced by the current CommitmentType (XAdES only)
      Returns:
      TRUE if AllDataSignedObjects element is present, FALSE otherwise
    • setAllDataSignedObjects

      public void setAllDataSignedObjects(boolean allDataSignedObjects)
      Sets if AllDataSignedObjects are referenced by the current CommitmentType (XAdES only)
      Parameters:
      allDataSignedObjects - whether AllDataSignedObjects element is present