public final class DOMManifest extends DOMStructure implements javax.xml.crypto.dsig.Manifest
| Constructor and Description |
|---|
DOMManifest(org.w3c.dom.Element manElem,
javax.xml.crypto.XMLCryptoContext context,
java.security.Provider provider)
Creates a
DOMManifest from an element. |
DOMManifest(java.util.List<? extends javax.xml.crypto.dsig.Reference> references,
java.lang.String id)
Creates a
DOMManifest containing the specified
list of References and optional id. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getId() |
java.util.List |
getReferences() |
void |
marshal(org.w3c.dom.Node parent,
java.lang.String dsPrefix,
javax.xml.crypto.dom.DOMCryptoContext context) |
isFeatureSupportedpublic DOMManifest(java.util.List<? extends javax.xml.crypto.dsig.Reference> references,
java.lang.String id)
DOMManifest containing the specified
list of References and optional id.references - a list of one or more References. The list
is defensively copied to protect against subsequent modification.id - the id (may be nulljava.lang.NullPointerException - if references is
nulljava.lang.IllegalArgumentException - if references is emptyjava.lang.ClassCastException - if references contains any
entries that are not of type Referencepublic DOMManifest(org.w3c.dom.Element manElem,
javax.xml.crypto.XMLCryptoContext context,
java.security.Provider provider)
throws javax.xml.crypto.MarshalException
DOMManifest from an element.manElem - a Manifest elementjavax.xml.crypto.MarshalExceptionpublic java.lang.String getId()
getId in interface javax.xml.crypto.dsig.Manifestpublic java.util.List getReferences()
getReferences in interface javax.xml.crypto.dsig.Manifestpublic void marshal(org.w3c.dom.Node parent,
java.lang.String dsPrefix,
javax.xml.crypto.dom.DOMCryptoContext context)
throws javax.xml.crypto.MarshalException
marshal in class DOMStructurejavax.xml.crypto.MarshalExceptionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Object