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
ConstructorsConstructorDescriptionDefault constructor instantiating object with null values -
Method Summary
Modifier and TypeMethodDescriptionGets custom CommitmentTypeQualifiers ListString[]Gets references to signed data objects for the current CommitmentTypevoidsetCommitmentTypeQualifiers(CommitmentQualifier... commitmentTypeQualifiers) Sets custom CommitmentTypeQualifiers List.voidsetSignedDataObjects(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, setUriMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface eu.europa.esig.dss.enumerations.ObjectIdentifier
getDocumentationReferences, getQualifierMethods inherited from interface eu.europa.esig.dss.enumerations.OidBasedEnum
getOidMethods inherited from interface eu.europa.esig.dss.enumerations.OidDescription
getDescriptionMethods 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 ofStrings
-
getCommitmentTypeQualifiers
Gets custom CommitmentTypeQualifiers List- Returns:
- array of
DSSDocuments
-
setCommitmentTypeQualifiers
Sets custom CommitmentTypeQualifiers List. Use : OPTIONAL- Parameters:
commitmentTypeQualifiers- array ofCommitmentQualifiers representing content of the CommitmentTypeQualifier element
-