public final class DOMSignatureProperty extends BaseStructure implements SignatureProperty
Constructor and Description |
---|
DOMSignatureProperty(Element propElem)
Creates a
DOMSignatureProperty from an element. |
DOMSignatureProperty(List<? extends XMLStructure> content,
String target,
String id)
Creates a
SignatureProperty from the specified parameters. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
List<XMLStructure> |
getContent() |
String |
getId() |
String |
getTarget() |
int |
hashCode() |
static void |
marshal(XmlWriter xwriter,
SignatureProperty sigProp,
String dsPrefix,
XMLCryptoContext context) |
isFeatureSupported, textOfNode
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
isFeatureSupported
public DOMSignatureProperty(List<? extends XMLStructure> content, String target, String id)
SignatureProperty
from the specified parameters.content
- a list of one or more XMLStructure
s. The list
is defensively copied to protect against subsequent modification.target
- the target URIid
- the Id (may be null
)ClassCastException
- if content
contains any
entries that are not of type XMLStructure
IllegalArgumentException
- if content
is emptyNullPointerException
- if content
or
target
is null
public DOMSignatureProperty(Element propElem) throws MarshalException
DOMSignatureProperty
from an element.propElem
- a SignatureProperty elementMarshalException
public List<XMLStructure> getContent()
getContent
in interface SignatureProperty
public String getId()
getId
in interface SignatureProperty
public String getTarget()
getTarget
in interface SignatureProperty
public static void marshal(XmlWriter xwriter, SignatureProperty sigProp, String dsPrefix, XMLCryptoContext context) throws MarshalException
MarshalException
Copyright © 2000–2023 The Apache Software Foundation. All rights reserved.