Package eu.europa.esig.dss.model
Class CommitmentQualifier
java.lang.Object
eu.europa.esig.dss.model.CommitmentQualifier
- All Implemented Interfaces:
Serializable
This class is used to define a CommitmentTypeQualifier to be incorporated within a signature
- See Also:
-
Constructor Summary
ConstructorDescriptionDefault constructor instantiating object with null values -
Method Summary
Modifier and TypeMethodDescriptionGets the content of the Commitment QualifiergetOid()
Gets unique object identifier of the Commitment Qualifiervoid
setContent
(DSSDocument content) Sets the content of Commitment Qualifier.void
Sets unique object identifier of the Commitment Qualifier (CAdES/PAdES only!) Use : CONDITIONAL (required for CAdES/PAdES)
-
Constructor Details
-
CommitmentQualifier
public CommitmentQualifier()Default constructor instantiating object with null values
-
-
Method Details
-
getOid
Gets unique object identifier of the Commitment Qualifier- Returns:
String
-
setOid
Sets unique object identifier of the Commitment Qualifier (CAdES/PAdES only!) Use : CONDITIONAL (required for CAdES/PAdES)- Parameters:
oid
-String
-
getContent
Gets the content of the Commitment Qualifier- Returns:
DSSDocument
-
setContent
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
-