xades4j.properties
Class AllDataObjsCommitmentTypeProperty

java.lang.Object
  extended by xades4j.properties.DataObjectProperty
      extended by xades4j.properties.SignedDataObjectProperty
          extended by xades4j.properties.CommitmentTypePropertyBase
              extended by xades4j.properties.AllDataObjsCommitmentTypeProperty
All Implemented Interfaces:
QualifyingProperty

public final class AllDataObjsCommitmentTypeProperty
extends CommitmentTypePropertyBase

A commitment type that applies to all the signed data objects. The class has helper methods to get new instances representing a number of commitments that have been already identified in TS 101 733.

Author:
Luís
See Also:
CommitmentTypePropertyBase

Nested Class Summary
 
Nested classes/interfaces inherited from class xades4j.properties.DataObjectProperty
DataObjectProperty.TargetMultiplicity
 
Field Summary
 
Fields inherited from class xades4j.properties.CommitmentTypePropertyBase
PROOF_OF_APPROVAL_DESC, PROOF_OF_APPROVAL_URI, PROOF_OF_CREATION_DESC, PROOF_OF_CREATION_URI, PROOF_OF_DELIVERY_DESC, PROOF_OF_DELIVERY_URI, PROOF_OF_ORIGIN_DESC, PROOF_OF_ORIGIN_URI, PROOF_OF_RECEIPT_DESC, PROOF_OF_RECEIPT_URI, PROOF_OF_SENDER_DESC, PROOF_OF_SENDER_URI, PROP_NAME
 
Fields inherited from interface xades4j.properties.QualifyingProperty
QUALIFYING_PROPS_REF_TAG, QUALIFYING_PROPS_TAG, SIGNED_DATAOBJ_PROPS_TAG, SIGNED_PROPS_TAG, SIGNED_PROPS_TYPE_URI, SIGNED_SIGNATURE_PROPS_TAG, TARGET_ATTR, UNSIGNED_DATAOBJ_PROPS_TAG, UNSIGNED_PROPS_TAG, UNSIGNED_SIGNATURE_PROPS_TAG, XADES_XMLNS, XADESV141_XMLNS
 
Constructor Summary
AllDataObjsCommitmentTypeProperty(String uri, String description)
           
 
Method Summary
static AllDataObjsCommitmentTypeProperty proofOfApproval()
          Gets an AllDataObjsCommitmentTypeProperty representing the Proof of approval commitment.
static AllDataObjsCommitmentTypeProperty proofOfCreation()
          Gets an AllDataObjsCommitmentTypeProperty representing the Proof of origin commitment.
static AllDataObjsCommitmentTypeProperty proofOfDelivery()
          Gets an AllDataObjsCommitmentTypeProperty representing the Proof of delivery commitment.
static AllDataObjsCommitmentTypeProperty proofOfOrigin()
          Gets an AllDataObjsCommitmentTypeProperty representing the Proof of origin commitment.
static AllDataObjsCommitmentTypeProperty proofOfReceipt()
          Gets an AllDataObjsCommitmentTypeProperty representing the Proof of receipt commitment.
static AllDataObjsCommitmentTypeProperty proofOfSender()
          Gets an AllDataObjsCommitmentTypeProperty representing the Proof of sender commitment.
 
Methods inherited from class xades4j.properties.CommitmentTypePropertyBase
getDescription, getName, getUri
 
Methods inherited from class xades4j.properties.SignedDataObjectProperty
isSigned
 
Methods inherited from class xades4j.properties.DataObjectProperty
getTargetDataObjects, isSignature
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AllDataObjsCommitmentTypeProperty

public AllDataObjsCommitmentTypeProperty(String uri,
                                         String description)
Parameters:
uri - the commitment type URI
description - teh commitment type description
Method Detail

proofOfOrigin

public static AllDataObjsCommitmentTypeProperty proofOfOrigin()
Gets an AllDataObjsCommitmentTypeProperty representing the Proof of origin commitment. Indicates that the signer recognizes to have created, approved and sent the signed data object.

Returns:
a new instance with the commitment information

proofOfReceipt

public static AllDataObjsCommitmentTypeProperty proofOfReceipt()
Gets an AllDataObjsCommitmentTypeProperty representing the Proof of receipt commitment. Indicates that signer recognizes to have received the content of the signed data object.

Returns:
a new instance with the commitment information

proofOfDelivery

public static AllDataObjsCommitmentTypeProperty proofOfDelivery()
Gets an AllDataObjsCommitmentTypeProperty representing the Proof of delivery commitment. Indicates that the TSP providing that indication has delivered a signed data object in a local store accessible to the recipient of the signed data object.

Returns:
a new instance with the commitment information

proofOfSender

public static AllDataObjsCommitmentTypeProperty proofOfSender()
Gets an AllDataObjsCommitmentTypeProperty representing the Proof of sender commitment. Indicates that the entity providing the indication has sent the signed data object (but not necessarily created it).

Returns:
a new instance with the commitment information

proofOfApproval

public static AllDataObjsCommitmentTypeProperty proofOfApproval()
Gets an AllDataObjsCommitmentTypeProperty representing the Proof of approval commitment. Indicates that the signer has approved the content of the signed data object.

Returns:
a new instance with the commitment information

proofOfCreation

public static AllDataObjsCommitmentTypeProperty proofOfCreation()
Gets an AllDataObjsCommitmentTypeProperty representing the Proof of origin commitment. Indicates that the signer has created the signed data object (but not necessarily approved, nor sent it).

Returns:
a new instance with the commitment information


Copyright © 2012. All Rights Reserved.