public class Manifest extends BaseElement
The Manifest element provides a list of
References. The difference from the list in
SignedInfo is that it is application defined which, if any, of
the digests are actually checked against the objects referenced and what to
do if the object is inaccessible or the digest compare fails. If a
Manifest is pointed to from SignedInfo, the digest
over the Manifest itself will be checked by the core signature
validation behavior. The digests within such a Manifest are
checked at the application's discretion. If a Manifest is
referenced from another Manifest, even the overall digest of
this two level deep Manifest might not be checked.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ManifestType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.w3.org/2000/09/xmldsig#}Reference" maxOccurs="unbounded"/>
</sequence>
<attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
mContext, mElement, mId| Constructor and Description |
|---|
Manifest(Context aBaglam) |
Manifest(org.w3c.dom.Element aElement,
Context aContext)
Construct Manifest from existing
|
| Modifier and Type | Method and Description |
|---|---|
void |
addReference(Reference aReference) |
java.lang.String |
addReference(java.lang.String aDocumentURI,
Transforms aTransforms,
DigestMethod aDigestMethod,
java.lang.String aType) |
java.lang.String |
getLocalName() |
java.lang.String |
getNamespace() |
Reference |
getReference(int index) |
Reference |
getReferenceByURI(java.lang.String aURI) |
int |
getReferenceCount() |
addBigIntegerElement, addLineBreak, addLineBreak, checkNamespace, createElement, generateAndSetId, getAttribute, getBigIntegerFromElement, getChildText, getContext, getDocument, getElement, getId, insertBase64EncodedElement, insertElement, insertTextElement, selectChildElement, selectChildren, setIdpublic Manifest(Context aBaglam)
public Manifest(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 Reference getReference(int index)
public Reference getReferenceByURI(java.lang.String aURI)
public java.lang.String addReference(java.lang.String aDocumentURI,
Transforms aTransforms,
DigestMethod aDigestMethod,
java.lang.String aType)
throws XMLSignatureException
XMLSignatureExceptionpublic void addReference(Reference aReference)
public int getReferenceCount()
public java.lang.String getNamespace()
getNamespace in class BaseElementpublic java.lang.String getLocalName()
getLocalName in class BaseElementCopyright © 2025. All rights reserved.