xades4j.properties
Class AllDataObjsTimeStampProperty
java.lang.Object
xades4j.properties.DataObjectProperty
xades4j.properties.SignedDataObjectProperty
xades4j.properties.AllDataObjsTimeStampProperty
- All Implemented Interfaces:
- QualifyingProperty
public final class AllDataObjsTimeStampProperty
- extends SignedDataObjectProperty
Represents a time-stamp computed before the signature production, over the sequence
formed by ALL the ds:Reference elements within the ds:SignedInfo
referencing whatever the signer wants to sign except the SignedProperties element.
The AllDataObjectsTimeStamp element is a signed property. Several
instances of this property from different TSAs can occur within the same XAdES.
- Author:
- Luís
- See Also:
IndividualDataObjsTimeStampProperty
| 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 |
getName()
Gets the name of the property, as specified in XAdES (the element name). |
Date |
getTime()
Gets the time-stamp time after signature production or verification. |
void |
setTime(Date time)
Sets the time-stamp time. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROP_NAME
public static final String PROP_NAME
- See Also:
- Constant Field Values
AllDataObjsTimeStampProperty
public AllDataObjsTimeStampProperty()
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
getTime
public Date getTime()
- Gets the time-stamp time after signature production or verification.
- Returns:
- the time or
null if the property wasn't part of a signature production
setTime
public void setTime(Date time)
- Sets the time-stamp time. This is set during signature production so that
the time-stamp can be accessed afterwards.
- Parameters:
time - the time
Copyright © 2012. All Rights Reserved.