Package eu.europa.esig.dss.model
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
This class provides a basic implementation of
CommitmentType
providing a possibility
to create a customized CommitmentType signed property.- See Also:
-
Constructor Summary
ConstructorDescriptionDefault constructor instantiating object with null values -
Method Summary
Modifier and TypeMethodDescriptionGets custom CommitmentTypeQualifiers ListString[]
Gets references to signed data objects for the current CommitmentTypevoid
setCommitmentTypeQualifiers
(CommitmentQualifier... commitmentTypeQualifiers) Sets custom CommitmentTypeQualifiers List.void
setSignedDataObjects
(String... signedDataObjects) Sets signed data objects referenced by the current CommitmentType.Methods inherited from class eu.europa.esig.dss.model.CommonObjectIdentifier
getDescription, getDocumentationReferences, getOid, getQualifier, getUri, setDescription, setDocumentationReferences, setOid, setQualifier, setUri
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface eu.europa.esig.dss.enumerations.ObjectIdentifier
getDocumentationReferences, getQualifier
Methods inherited from interface eu.europa.esig.dss.enumerations.OidBasedEnum
getOid
Methods inherited from interface eu.europa.esig.dss.enumerations.OidDescription
getDescription
Methods inherited from interface eu.europa.esig.dss.enumerations.UriBasedEnum
getUri
-
Constructor Details
-
CommonCommitmentType
public CommonCommitmentType()Default constructor instantiating object with null values
-
-
Method Details
-
getSignedDataObjects
-
setSignedDataObjects
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 ofString
s
-
getCommitmentTypeQualifiers
Gets custom CommitmentTypeQualifiers List- Returns:
- array of
DSSDocument
s
-
setCommitmentTypeQualifiers
Sets custom CommitmentTypeQualifiers List. Use : OPTIONAL- Parameters:
commitmentTypeQualifiers
- array ofCommitmentQualifier
s representing content of the CommitmentTypeQualifier element
-