public final class DOMSignatureProperty extends DOMStructure implements SignatureProperty
| Constructor and Description |
|---|
DOMSignatureProperty(org.w3c.dom.Element propElem,
XMLCryptoContext context)
Creates a
DOMSignatureProperty from an element. |
DOMSignatureProperty(java.util.List<? extends 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()
Returns an
unmodifiable
list of one or more XMLStructures that are contained in
this SignatureProperty. |
java.lang.String |
getId()
Returns the Id of this
SignatureProperty. |
java.lang.String |
getTarget()
Returns the target URI of this
SignatureProperty. |
int |
hashCode() |
void |
marshal(org.w3c.dom.Node parent,
java.lang.String dsPrefix,
DOMCryptoContext context) |
isFeatureSupportedclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitisFeatureSupportedpublic DOMSignatureProperty(java.util.List<? extends 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,
XMLCryptoContext context)
throws MarshalException
DOMSignatureProperty from an element.propElem - a SignatureProperty elementMarshalExceptionpublic java.util.List getContent()
SignaturePropertyunmodifiable
list of one or more XMLStructures that are contained in
this SignatureProperty. These represent additional
information items concerning the generation of the XMLSignature
(i.e. date/time stamp or serial numbers of cryptographic hardware used
in signature generation).getContent in interface SignaturePropertyXMLStructurespublic java.lang.String getId()
SignaturePropertySignatureProperty.getId in interface SignaturePropertySignatureProperty (or
null if not specified)public java.lang.String getTarget()
SignaturePropertySignatureProperty.getTarget in interface SignaturePropertySignatureProperty (never
null)public void marshal(org.w3c.dom.Node parent,
java.lang.String dsPrefix,
DOMCryptoContext context)
throws MarshalException
marshal in class DOMStructureMarshalExceptionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2000-2013 The Apache Software Foundation. All Rights Reserved.