xades4j.properties
Class CommitmentTypePropertyBase
java.lang.Object
xades4j.properties.DataObjectProperty
xades4j.properties.SignedDataObjectProperty
xades4j.properties.CommitmentTypePropertyBase
- All Implemented Interfaces:
- QualifyingProperty
- Direct Known Subclasses:
- AllDataObjsCommitmentTypeProperty, CommitmentTypeProperty
public abstract class CommitmentTypePropertyBase
- extends SignedDataObjectProperty
Base class for the CommitmentTypeIndication property. This is a signed property
that qualifies signed data objects. In consequence, XAdES signatures may contain
more than one CommitmentTypeIndication.
Although the same XML element is used when the property applies to some or all
data objects there two different types in order to control the number of targets:
if the commitment applies to all the signed data objects AllDataObjsCommitmentTypeProperty
should be used; otherwise use CommitmentTypeProperty.
- Author:
- Luís
| 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 |
|
Method Summary |
String |
getDescription()
Gets the description of this commitment type. |
String |
getName()
Gets the name of the property, as specified in XAdES (the element name). |
String |
getUri()
Gets the URI of this commitment type. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROOF_OF_ORIGIN_URI
public static final String PROOF_OF_ORIGIN_URI
- See Also:
- Constant Field Values
PROOF_OF_ORIGIN_DESC
public static final String PROOF_OF_ORIGIN_DESC
- See Also:
- Constant Field Values
PROOF_OF_RECEIPT_URI
public static final String PROOF_OF_RECEIPT_URI
- See Also:
- Constant Field Values
PROOF_OF_RECEIPT_DESC
public static final String PROOF_OF_RECEIPT_DESC
- See Also:
- Constant Field Values
PROOF_OF_DELIVERY_URI
public static final String PROOF_OF_DELIVERY_URI
- See Also:
- Constant Field Values
PROOF_OF_DELIVERY_DESC
public static final String PROOF_OF_DELIVERY_DESC
- See Also:
- Constant Field Values
PROOF_OF_SENDER_URI
public static final String PROOF_OF_SENDER_URI
- See Also:
- Constant Field Values
PROOF_OF_SENDER_DESC
public static final String PROOF_OF_SENDER_DESC
- See Also:
- Constant Field Values
PROOF_OF_APPROVAL_URI
public static final String PROOF_OF_APPROVAL_URI
- See Also:
- Constant Field Values
PROOF_OF_APPROVAL_DESC
public static final String PROOF_OF_APPROVAL_DESC
- See Also:
- Constant Field Values
PROOF_OF_CREATION_URI
public static final String PROOF_OF_CREATION_URI
- See Also:
- Constant Field Values
PROOF_OF_CREATION_DESC
public static final String PROOF_OF_CREATION_DESC
- See Also:
- Constant Field Values
PROP_NAME
public static final String PROP_NAME
- See Also:
- Constant Field Values
CommitmentTypePropertyBase
protected CommitmentTypePropertyBase(String uri,
String description,
DataObjectProperty.TargetMultiplicity targetMult)
getDescription
public String getDescription()
- Gets the description of this commitment type.
- Returns:
- the description
getUri
public String getUri()
- Gets the URI of this commitment type.
- Returns:
- the URI
getName
public String getName()
- Description copied from interface:
QualifyingProperty
- Gets the name of the property, as specified in XAdES (the element name).
- Returns:
- the name
Copyright © 2012. All Rights Reserved.