Class CommonCommitmentType

java.lang.Object
eu.europa.esig.dss.model.CommonObjectIdentifier
eu.europa.esig.dss.model.CommonCommitmentType
All Implemented Interfaces:
CommitmentType, ObjectIdentifier, OidAndUriBasedEnum, OidBasedEnum, OidDescription, UriBasedEnum, Serializable

public class CommonCommitmentType extends CommonObjectIdentifier implements CommitmentType
This class provides a basic implementation of CommitmentType providing a possibility to create a customized CommitmentType signed property.
See Also:
  • Constructor Details

    • CommonCommitmentType

      public CommonCommitmentType()
      Default constructor instantiating object with null values
  • Method Details

    • getSignedDataObjects

      public String[] getSignedDataObjects()
      Gets references to signed data objects for the current CommitmentType
      Returns:
      array of Strings
    • setSignedDataObjects

      public void setSignedDataObjects(String... signedDataObjects)
      Sets signed data objects referenced by the current CommitmentType. When CommitmentType is made for a subset of signed data objects, each element of the array shall refer one ds:Reference element within the ds:SignedInfo element or within a signed ds:Manifest element. When CommitmentType is made for all signed data objects, the array shall be: - empty (default), then AllSignedDataObjects element will be created; or - contain references to all signed data objects (one ObjectReference will be created for each). Use : OPTIONAL (XAdES only)
      Parameters:
      signedDataObjects - array of Strings
    • getCommitmentTypeQualifiers

      public CommitmentQualifier[] getCommitmentTypeQualifiers()
      Gets custom CommitmentTypeQualifiers List
      Returns:
      array of DSSDocuments
    • setCommitmentTypeQualifiers

      public void setCommitmentTypeQualifiers(CommitmentQualifier... commitmentTypeQualifiers)
      Sets custom CommitmentTypeQualifiers List. Use : OPTIONAL
      Parameters:
      commitmentTypeQualifiers - array of CommitmentQualifiers representing content of the CommitmentTypeQualifier element