public interface CommitmentTypeIndication extends XMLStructure
CommitmentTypeIndication
property as
defined in ETSI TS 101 933 V1.3.2.
The XML Schema Definition is defined as:
<xsd:element name="CommitmentTypeIndication" type="CommitmentTypeIndicationType"/> <xsd:complexType name="CommitmentTypeIndicationType"> <xsd:sequence> <xsd:element name="CommitmentTypeId" type="ObjectIdentifierType"/> <xsd:choice> <xsd:element name="ObjectReference" type="xsd:anyURI" maxOccurs="unbounded"/> <xsd:element name="AllSignedDataObjects"/> </xsd:choice> <xsd:element name="CommitmentTypeQualifiers" type="CommitmentTypeQualifiersListType" minOccurs="0"/> </xsd:sequence> </xsd:complexType> <xsd:complexType name="CommitmentTypeQualifiersListType"> <xsd:sequence> <xsd:element name="CommitmentTypeQualifier" type="AnyType" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType>
A CommitmentType
property may be created by invoking the
newCommitmentTypeIndication
method of the
QualifyingPropertiesFactory
class; for example:
QualifyingPropertiesFactory qfac = QualifyingPropertiesFactory.getInstance("DOM"); ObjectIdentifier ctId = qfac.newObjectIdentifier( CommitmentTypeIndication.ProofOfApproval, null, null, null); List objRefs = new ArrayList(); objRefs.add("#SignedDataObject-Reference-1"); objRefs.add("#SignedDataObject-Reference-2"); CommitmentTypeIndication cti = qfac.newCommitmentTypeIndication(ctId, objRefs, null);
Modifier and Type | Field and Description |
---|---|
static String |
PROOF_OF_APPROVAL
Commitment type indication URI Proof of approval.
|
static String |
PROOF_OF_CREATION
Commitment type indication URI Proof of creation.
|
static String |
PROOF_OF_DELIVERY
Commitment type indication URI Proof of delivery.
|
static String |
PROOF_OF_ORIGIN
Commitment type indication URI Proof of origin.
|
static String |
PROOF_OF_RECEIPT
Commitment type indication URI Proof of receipt.
|
static String |
PROOF_OF_SENDER
Commitment type indication URI Proof of sender.
|
Modifier and Type | Method and Description |
---|---|
ObjectIdentifier |
getCommitmentTypeId()
Returns the commitment type id.
|
List |
getCommitmentTypeQualifiers()
Returns the list of
CommitmentTypeQualifier s. |
List |
getObjectReferences()
Returns the object references.
|
boolean |
isAllSignedDataObjects()
Returns
true if this CommitmentTypeIndication is
specified for all signed data objects; otherwise false . |
isFeatureSupported
static final String PROOF_OF_ORIGIN
static final String PROOF_OF_RECEIPT
static final String PROOF_OF_DELIVERY
static final String PROOF_OF_SENDER
static final String PROOF_OF_APPROVAL
static final String PROOF_OF_CREATION
ObjectIdentifier getCommitmentTypeId()
CommitmentTypeId
List getObjectReferences()
DOMURIReference
s, each
referencing a <ds:Reference> element of the
<ds:Reference> signed data object.boolean isAllSignedDataObjects()
true
if this CommitmentTypeIndication
is
specified for all signed data objects; otherwise false
.true
if this CommitmentTypeIndication
is
specified for all signed data objects; otherwise false
List getCommitmentTypeQualifiers()
CommitmentTypeQualifier
s.CommitmentTypeQualifier
s© 2002-2005 IAIK, © 2004, 2006 - 2017 Stiftung SIC