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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the descriptionGets the document referencesGets the identifierGets a list of signed data objects referenced by the current CommitmentTypebooleanGets if AllDataSignedObjects are referenced by the current CommitmentType (XAdES only)voidsetAllDataSignedObjects(boolean allDataSignedObjects) Sets if AllDataSignedObjects are referenced by the current CommitmentType (XAdES only)voidsetDescription(String description) Sets the descriptionvoidsetDocumentReferences(List<String> documentReferences) Sets the document referencesvoidsetObjectReferences(List<String> objectReferences) Sets a list of signed data objects referenced by the current CommitmentType
-
Constructor Details
-
CommitmentTypeIndication
The default constructor- Parameters:
identifier-StringURI or OID
-
-
Method Details
-
getIdentifier
Gets the identifier- Returns:
StringURI or OID
-
getDescription
Gets the description- Returns:
String
-
setDescription
Sets the description- Parameters:
description-String
-
getDocumentReferences
Gets the document references- Returns:
- a list of
Strings
-
setDocumentReferences
Sets the document references- Parameters:
documentReferences- a list ofStrings
-
getObjectReferences
Gets a list of signed data objects referenced by the current CommitmentType- Returns:
- a list of
Strings
-
setObjectReferences
Sets a list of signed data objects referenced by the current CommitmentType- Parameters:
objectReferences- a list ofStrings
-
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
-