|
Oracle Security Developer Tools XML Security Java API Reference 10g (10.1.4.0.1) B28178-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.xmlsec.util.XMLNode
oracle.security.xmlsec.util.XMLElement
oracle.security.xmlsec.enc.XECipherData
The CipherData element that provides the encrypted data. It either stores the encrypted data in the CipherValue element or refers to a source containing it via CipherReference element.
XEEncryptedObject
, XECipherReference
Field Summary |
Fields inherited from class oracle.security.xmlsec.util.XMLNode |
node, systemId |
Constructor Summary | |
XECipherData(org.w3c.dom.Element cipherData) Create a XECipherData instance with the given CipherData element. |
|
XECipherData(org.w3c.dom.Element cipherData, java.lang.String systemId) Create a XECipherData instance with the given CipherData element. |
Method Summary | |
XECipherReference |
getCipherReference() Return the XECipherReference object in this XECipherData element. |
byte[] |
getCipherValue() Return the cipher value stored in the CipherValue element. |
void |
setCipherReference(XECipherReference cipherRef) Sets the CipherReference element. |
void |
setCipherValue(byte[] cipherValue) Sets the CipherValue element with the given cipher value. |
Methods inherited from class oracle.security.xmlsec.util.XMLNode |
appendChild, appendChild, appendTo, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNode, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getSystemId, hasAttributes, hasChildNodes, insertBefore, insertBefore, isSupported, normalize, removeChild, removeChild, replaceChild, replaceChild, setNodeValue, setPrefix, setSystemId, toBytesXML, toStringXML |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XECipherData(org.w3c.dom.Element cipherData) throws org.w3c.dom.DOMException
XECipherData
instance with the given CipherData element.cipherData
- A CipherData element.public XECipherData(org.w3c.dom.Element cipherData, java.lang.String systemId) throws org.w3c.dom.DOMException
XECipherData
instance with the given CipherData element.cipherData
- A CipherData element.systemId
- The URI string system ID for this element.XMLNode.setSystemId(java.lang.String)
Method Detail |
public void setCipherValue(byte[] cipherValue) throws org.w3c.dom.DOMException
cipherValue
- The encrypted data.org.w3c.dom.DOMException
public void setCipherReference(XECipherReference cipherRef) throws org.w3c.dom.DOMException
cipherRef
- An XECipherReference
object.org.w3c.dom.DOMException
public byte[] getCipherValue()
null
if not set (i.e., a CipherReference is used instead).public XECipherReference getCipherReference()
XECipherReference
object in this XECipherData
element.XECipherReference
object, or null
if not set (i.e., a CipherValue is used instead).
|
Oracle Security Developer Tools XML Security Java API Reference 10g (10.1.4.0.1) B28178-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |