Class CommitmentQualifier

java.lang.Object
eu.europa.esig.dss.model.CommitmentQualifier
All Implemented Interfaces:
Serializable

public class CommitmentQualifier extends Object implements Serializable
This class is used to define a CommitmentTypeQualifier to be incorporated within a signature
See Also:
  • Constructor Details

    • CommitmentQualifier

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

    • getOid

      public String getOid()
      Gets unique object identifier of the Commitment Qualifier
      Returns:
      String
    • setOid

      public void setOid(String oid)
      Sets unique object identifier of the Commitment Qualifier (CAdES/PAdES only!) Use : CONDITIONAL (required for CAdES/PAdES)
      Parameters:
      oid - String
    • getContent

      public DSSDocument getContent()
      Gets the content of the Commitment Qualifier
      Returns:
      DSSDocument
    • setContent

      public void setContent(DSSDocument content)
      Sets the content of Commitment Qualifier. The content of a qualifier may be anytype, but developers may need to ensure the content corresponds to the used signature format (i.e. XML for XAdES, ASN.1 for CAdES, etc.). Use : REQUIRED
      Parameters:
      content - DSSDocument