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.
-
Field Summary
Fields -
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
Modifier and TypeMethodDescriptionbooleanprivate booleanequalsContent(List<XMLStructure> otherContent) getId()inthashCode()voidmarshal(Node parent, String dsPrefix, DOMCryptoContext context) Methods inherited from class DOMStructure
isFeatureSupportedMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface XMLStructure
isFeatureSupported
-
Field Details
-
id
-
target
-
-
-
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
-
equalsContent
-