|
XML Security, 1.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.xml.enc.dom.DOMStructure
com.ibm.xml.enc.dom.DOMCipherData
com.ibm.xml.enc.dom.DOMCipherReference
public final class DOMCipherReference
DOM-based implementation of CipherReference.
Constructor Summary | |
---|---|
DOMCipherReference(org.w3c.dom.Element parent,
org.w3c.dom.Element elem,
XMLCryptoContext context)
Creates a DOMCipherReference from an element. |
|
DOMCipherReference(java.lang.String uri,
java.util.List tfs)
Creates a CiphereReference from the specified parameters. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
java.io.InputStream |
getCipherValue()
|
java.io.InputStream |
getCipherValue(XMLCryptoContext ctx)
|
org.w3c.dom.Node |
getHere()
Returns the here node. |
java.util.List |
getTransforms()
Returns an unmodifiable list of Transform s
that describe how to transform the referenced cipher data into an octet
sequence. |
java.lang.String |
getType()
Returns the type of data referenced by this URI. |
java.lang.String |
getURI()
Returns the URI of the referenced data object. |
void |
marshal(org.w3c.dom.Node parent,
java.lang.String encPrefix,
DOMCryptoContext context)
|
Methods inherited from class com.ibm.xml.enc.dom.DOMCipherData |
---|
getInstance |
Methods inherited from class com.ibm.xml.enc.dom.DOMStructure |
---|
isFeatureSupported |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.xml.crypto.XMLStructure |
---|
isFeatureSupported |
Constructor Detail |
---|
public DOMCipherReference(java.lang.String uri, java.util.List tfs)
CiphereReference
from the specified parameters.
uri
- the URItfs
- a list of Transform
s. The list
is defensively copied to protect against subsequent modification.
May be null
or empty.
java.lang.NullPointerException
- if dm
is null
java.lang.ClassCastException
- if any of the transforms
are
not of type Transform
public DOMCipherReference(org.w3c.dom.Element parent, org.w3c.dom.Element elem, XMLCryptoContext context) throws MarshalException
DOMCipherReference
from an element.
elem
- a CipherReference element
MarshalException
Method Detail |
---|
public java.lang.String getType()
URIReference
getType
in interface URIReference
null
if not specified)public java.lang.String getURI()
URIReference
getURI
in interface URIReference
null
if not specified)public java.util.List getTransforms()
CipherReference
Transform
s
that describe how to transform the referenced cipher data into an octet
sequence.
getTransforms
in interface CipherReference
Transform
s (may be empty
but never null
)public java.io.InputStream getCipherValue() throws XMLEncryptionException
XMLEncryptionException
public java.io.InputStream getCipherValue(XMLCryptoContext ctx) throws XMLEncryptionException
XMLEncryptionException
public void marshal(org.w3c.dom.Node parent, java.lang.String encPrefix, DOMCryptoContext context) throws MarshalException
marshal
in class DOMStructure
MarshalException
public org.w3c.dom.Node getHere()
DOMURIReference
getHere
in interface DOMURIReference
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
|
XML Security, 1.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |