Class DOMSignatureProperty
java.lang.Object
org.apache.jcp.xml.dsig.internal.dom.DOMStructure
org.apache.jcp.xml.dsig.internal.dom.DOMSignatureProperty
- All Implemented Interfaces:
SignatureProperty,XMLStructure
DOM-based implementation of SignatureProperty.
-
Constructor Summary
ConstructorsConstructorDescriptionDOMSignatureProperty(List<? extends XMLStructure> content, String target, String id) Creates aSignaturePropertyfrom the specified parameters.DOMSignatureProperty(Element propElem) Creates aDOMSignaturePropertyfrom an element. -
Method Summary
Methods inherited from class org.apache.jcp.xml.dsig.internal.dom.DOMStructure
isFeatureSupportedMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.xml.crypto.XMLStructure
isFeatureSupported
-
Constructor Details
-
DOMSignatureProperty
Creates aSignaturePropertyfrom the specified parameters.- Parameters:
content- a list of one or moreXMLStructures. The list is defensively copied to protect against subsequent modification.target- the target URIid- the Id (may benull)- Throws:
ClassCastException- ifcontentcontains any entries that are not of typeXMLStructureIllegalArgumentException- ifcontentis emptyNullPointerException- ifcontentortargetisnull
-
DOMSignatureProperty
Creates aDOMSignaturePropertyfrom an element.- Parameters:
propElem- a SignatureProperty element- Throws:
MarshalException
-
-
Method Details
-
getContent
- Specified by:
getContentin interfaceSignatureProperty
-
getId
- Specified by:
getIdin interfaceSignatureProperty
-
getTarget
- Specified by:
getTargetin interfaceSignatureProperty
-
marshal
- Specified by:
marshalin classDOMStructure- Throws:
MarshalException
-
equals
-
hashCode
public int hashCode()
-