Package eu.europa.esig.dss.validation
Class CommitmentTypeIndication
java.lang.Object
eu.europa.esig.dss.validation.CommitmentTypeIndication
This class represents the commitment type indication identifiers extracted from the signature.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the descriptionGets the document referencesGets the identifierGets a list of signed data objects referenced by the current CommitmentTypeboolean
Gets if AllDataSignedObjects are referenced by the current CommitmentType (XAdES only)void
setAllDataSignedObjects
(boolean allDataSignedObjects) Sets if AllDataSignedObjects are referenced by the current CommitmentType (XAdES only)void
setDescription
(String description) Sets the descriptionvoid
setDocumentReferences
(List<String> documentReferences) Sets the document referencesvoid
setObjectReferences
(List<String> objectReferences) Sets a list of signed data objects referenced by the current CommitmentType
-
Constructor Details
-
CommitmentTypeIndication
The default constructor- Parameters:
identifier
-String
URI or OID
-
-
Method Details
-
getIdentifier
Gets the identifier- Returns:
String
URI or OID
-
getDescription
Gets the description- Returns:
String
-
setDescription
Sets the description- Parameters:
description
-String
-
getDocumentReferences
Gets the document references- Returns:
- a list of
String
s
-
setDocumentReferences
Sets the document references- Parameters:
documentReferences
- a list ofString
s
-
getObjectReferences
Gets a list of signed data objects referenced by the current CommitmentType- Returns:
- a list of
String
s
-
setObjectReferences
Sets a list of signed data objects referenced by the current CommitmentType- Parameters:
objectReferences
- a list ofString
s
-
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
-