Class CommonCommitmentType
java.lang.Object
eu.europa.esig.dss.model.CommonObjectIdentifier
eu.europa.esig.dss.model.CommonCommitmentType
- All Implemented Interfaces:
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[]getOid()eu.europa.esig.dss.enumerations.ObjectIdentifierQualifierString[]Gets references to signed data objects for the current CommitmentTypegetUri()voidsetCommitmentTypeQualifiers(CommitmentQualifier... commitmentTypeQualifiers) Sets custom CommitmentTypeQualifiers List.voidsetSignedDataObjects(String... signedDataObjects) Sets signed data objects referenced by the current CommitmentType.Methods inherited from class CommonObjectIdentifier
getDescription, getDocumentationReferences, getOid, getQualifier, getUri, setDescription, setDocumentationReferences, setOid, setQualifier, setUri
-
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
-
getDocumentationReferences
String[] getDocumentationReferences() -
getQualifier
eu.europa.esig.dss.enumerations.ObjectIdentifierQualifier getQualifier() -
getOid
String getOid() -
getUri
String getUri() -
getDescription
String getDescription()
-