public class Include extends XAdESBaseElement
Include elements explicitly identify data objects that are
time-stamped. Their order of appearance indicates how the data objects
contribute in the generation of the input to the digest computation.
The URI attribute in Include element identifies one
time-stamped data object. Its value MUST follow the rules indicated below:
In time-stamps that cover ds:Reference elements, the
attribute referencedData MAY be present. If present with value set to "true",
the time-stamp is computed on the result of processing the corresponding
ds:Reference element according to the XMLDSIG processing model.
If the attribute is not present or is present with value "false", the
time-stamp is computed on the ds:Reference element itself. When appearing in
a time-stamp container property, each Include element MUST be processed in
order as detailed below:
Below follows the schema definition for the data type.
<xsd:complexType name="IncludeType"> <xsd:attribute name="URI" type="xsd:anyURI" use="required"/> <xsd:attribute name="referencedData" type="xsd:boolean" use="optional"/> </xsd:complexType>
mContext, mElement, mId| Constructor and Description |
|---|
Include(Context aContext,
java.lang.String aURI,
java.lang.Boolean aReferencedData) |
Include(org.w3c.dom.Element aElement,
Context aContext)
Construct XADESBaseElement from existing
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getLocalName() |
java.lang.Boolean |
getReferencedData() |
java.lang.String |
getURI() |
void |
setReferencedData(java.lang.Boolean aReferencedData) |
void |
setURI(java.lang.String aURI) |
getNamespaceaddBigIntegerElement, addLineBreak, addLineBreak, checkNamespace, createElement, generateAndSetId, getAttribute, getBigIntegerFromElement, getChildText, getContext, getDocument, getElement, getId, insertBase64EncodedElement, insertElement, insertTextElement, selectChildElement, selectChildren, setIdpublic Include(Context aContext, java.lang.String aURI, java.lang.Boolean aReferencedData)
public Include(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 java.lang.String getURI()
public void setURI(java.lang.String aURI)
public java.lang.Boolean getReferencedData()
public void setReferencedData(java.lang.Boolean aReferencedData)
public java.lang.String getLocalName()
getLocalName in class BaseElementCopyright © 2025. All rights reserved.