public abstract class XAdESTimeStamp extends GenericTimeStamp
This concrete derived type is provided for containing time-stamp tokens computed on data objects of XAdES signatures.
This type provides two mechanisms for identifying data objects that are covered by the time-stamp token present in the container, and for specifying how to use them for computing the digest value that is sent to the TSA:
<xsd:complexType name="XAdESTimeStampType">
<xsd:complexContent>
<xsd:restriction base="GenericTimeStampType">
<xsd:sequence>
<xsd:element ref="Include" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="ds:CanonicalizationMethod" minOccurs="0"/>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="EncapsulatedTimeStamp" type="EncapsulatedPKIDataType"/>
<xsd:element name="XMLTimeStamp" type="AnyType"/>
</xsd:choice>
</xsd:sequence>
<xsd:attribute name="Id" type="xsd:ID" use="optional"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexTypev
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
mCanonicalizationMethod, mEncapsulatedTimeStamps, mIncludes, mReferenceInfos, mXMLTimeStampsmContext, mElement, mId| Modifier | Constructor and Description |
|---|---|
protected |
XAdESTimeStamp(Context aContext) |
protected |
XAdESTimeStamp(org.w3c.dom.Element aElement,
Context aContext)
Construct GenericTimeStamp from existing
|
| Modifier and Type | Method and Description |
|---|---|
abstract byte[] |
getContentForTimeStamp(XMLSignature aSignature) |
abstract tr.gov.tubitak.uekae.esya.api.signature.attribute.TimestampType |
getType() |
addEncapsulatedTimeStamp, addInclude, addReferenceInfo, getCanonicalizationMethod, getEncapsulatedTimeStamp, getEncapsulatedTimeStampCount, getInclude, getIncludeCount, getReferenceInfo, getReferenceInfoCount, getXMLTimeStamps, setCanonicalizationMethod, setXMLTimeStampsgetNamespaceaddBigIntegerElement, addLineBreak, addLineBreak, checkNamespace, createElement, generateAndSetId, getAttribute, getBigIntegerFromElement, getChildText, getContext, getDocument, getElement, getId, getLocalName, insertBase64EncodedElement, insertElement, insertTextElement, selectChildElement, selectChildren, setIdprotected XAdESTimeStamp(Context aContext)
protected XAdESTimeStamp(org.w3c.dom.Element aElement,
Context aContext)
throws XMLSignatureException
aElement - xml elementaContext - according to contextXMLSignatureException - when structure is invalid or can not be
resolved appropriatelypublic abstract tr.gov.tubitak.uekae.esya.api.signature.attribute.TimestampType getType()
public abstract byte[] getContentForTimeStamp(XMLSignature aSignature) throws XMLSignatureException
XMLSignatureExceptionCopyright © 2025. All rights reserved.