public final class DOMSignatureProperty extends DOMStructure implements javax.xml.crypto.dsig.SignatureProperty
| Constructor and Description |
|---|
DOMSignatureProperty(org.w3c.dom.Element propElem,
javax.xml.crypto.XMLCryptoContext context)
Creates a
DOMSignatureProperty from an element. |
DOMSignatureProperty(java.util.List<? extends javax.xml.crypto.XMLStructure> content,
java.lang.String target,
java.lang.String id)
Creates a
SignatureProperty from the specified parameters. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.util.List |
getContent() |
java.lang.String |
getId() |
java.lang.String |
getTarget() |
void |
marshal(org.w3c.dom.Node parent,
java.lang.String dsPrefix,
javax.xml.crypto.dom.DOMCryptoContext context) |
isFeatureSupportedpublic DOMSignatureProperty(java.util.List<? extends javax.xml.crypto.XMLStructure> content,
java.lang.String target,
java.lang.String id)
SignatureProperty from the specified parameters.content - a list of one or more XMLStructures. The list
is defensively copied to protect against subsequent modification.target - the target URIid - the Id (may be null)java.lang.ClassCastException - if content contains any
entries that are not of type XMLStructurejava.lang.IllegalArgumentException - if content is emptyjava.lang.NullPointerException - if content or
target is nullpublic DOMSignatureProperty(org.w3c.dom.Element propElem,
javax.xml.crypto.XMLCryptoContext context)
throws javax.xml.crypto.MarshalException
DOMSignatureProperty from an element.propElem - a SignatureProperty elementjavax.xml.crypto.MarshalExceptionpublic java.util.List getContent()
getContent in interface javax.xml.crypto.dsig.SignaturePropertypublic java.lang.String getId()
getId in interface javax.xml.crypto.dsig.SignaturePropertypublic java.lang.String getTarget()
getTarget in interface javax.xml.crypto.dsig.SignaturePropertypublic 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