|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jcp.xml.dsig.internal.dom.DOMStructure
org.apache.jcp.xml.dsig.internal.dom.DOMSignatureProperty
public final class DOMSignatureProperty
DOM-based implementation of SignatureProperty.
| Constructor Summary | |
|---|---|
DOMSignatureProperty(Element propElem,
XMLCryptoContext context)
Creates a DOMSignatureProperty from an element. |
|
DOMSignatureProperty(List<? extends XMLStructure> content,
String target,
String id)
Creates a SignatureProperty from the specified parameters. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
List |
getContent()
Returns an unmodifiable
list of one or more XMLStructures that are contained in
this SignatureProperty. |
String |
getId()
Returns the Id of this SignatureProperty. |
String |
getTarget()
Returns the target URI of this SignatureProperty. |
int |
hashCode()
|
void |
marshal(Node parent,
String dsPrefix,
DOMCryptoContext context)
|
| Methods inherited from class org.apache.jcp.xml.dsig.internal.dom.DOMStructure |
|---|
isFeatureSupported |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.xml.crypto.XMLStructure |
|---|
isFeatureSupported |
| Constructor Detail |
|---|
public DOMSignatureProperty(List<? extends XMLStructure> content,
String target,
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)
ClassCastException - if content contains any
entries that are not of type XMLStructure
IllegalArgumentException - if content is empty
NullPointerException - if content or
target is null
public DOMSignatureProperty(Element propElem,
XMLCryptoContext context)
throws MarshalException
DOMSignatureProperty from an element.
propElem - a SignatureProperty element
MarshalException| Method Detail |
|---|
public 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 String getId()
SignaturePropertySignatureProperty.
getId in interface SignaturePropertySignatureProperty (or
null if not specified)public String getTarget()
SignaturePropertySignatureProperty.
getTarget in interface SignaturePropertySignatureProperty (never
null)
public void marshal(Node parent,
String dsPrefix,
DOMCryptoContext context)
throws MarshalException
marshal in class DOMStructureMarshalExceptionpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||