xades4j.properties
Class CommitmentTypeProperty

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

public final class CommitmentTypeProperty
extends CommitmentTypePropertyBase

A commitment type that applies to some 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
CommitmentTypeProperty(String uri, String description)
           
 
Method Summary
static CommitmentTypeProperty proofOfApproval()
          Gets an CommitmentTypeProperty representing the Proof of approval commitment.
static CommitmentTypeProperty proofOfCreation()
          Gets an CommitmentTypeProperty representing the Proof of origin commitment.
static CommitmentTypeProperty proofOfDelivery()
          Gets an CommitmentTypeProperty representing the Proof of delivery commitment.
static CommitmentTypeProperty proofOfOrigin()
          Gets an CommitmentTypeProperty representing the Proof of origin commitment.
static CommitmentTypeProperty proofOfReceipt()
          Gets an CommitmentTypeProperty representing the Proof of receipt commitment.
static CommitmentTypeProperty proofOfSender()
          Gets an CommitmentTypeProperty 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

CommitmentTypeProperty

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

proofOfOrigin

public static CommitmentTypeProperty proofOfOrigin()
Gets an CommitmentTypeProperty 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 CommitmentTypeProperty proofOfReceipt()
Gets an CommitmentTypeProperty 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 CommitmentTypeProperty proofOfDelivery()
Gets an CommitmentTypeProperty 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 CommitmentTypeProperty proofOfSender()
Gets an CommitmentTypeProperty 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 CommitmentTypeProperty proofOfApproval()
Gets an CommitmentTypeProperty 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 CommitmentTypeProperty proofOfCreation()
Gets an CommitmentTypeProperty 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.