org.apache.xml.security.encryption
Class CipherData

java.lang.Object
  |
  +--org.apache.xml.security.utils.ElementProxy
        |
        +--org.apache.xml.security.utils.EncryptionElementProxy
              |
              +--org.apache.xml.security.encryption.CipherData

public class CipherData
extends EncryptionElementProxy

This class maps to the xenc:CipherData element.

Author:
$Author: vdkoogh $

Field Summary
 
Fields inherited from class org.apache.xml.security.utils.ElementProxy
_baseURI, _constructionElement, _doc, _state, MODE_CREATE, MODE_DECRYPT, MODE_ENCRYPT, MODE_PROCESS, MODE_SIGN, MODE_UNKNOWN, MODE_VERIFY
 
Constructor Summary
CipherData(org.w3c.dom.Document doc)
          Constructor CipherData
CipherData(org.w3c.dom.Document doc, byte[] ciphertext)
          Constructor CipherData
CipherData(org.w3c.dom.Document doc, CipherReference cipherReference)
          Constructor CipherData
CipherData(org.w3c.dom.Document doc, CipherValue cipherValue)
          Constructor CipherData
CipherData(org.w3c.dom.Element element, java.lang.String BaseURI)
          Constructor CipherData
 
Method Summary
 java.lang.String getBaseLocalName()
          Returns the localname of the Elements of the sub-class.
 CipherReference getCipherReference()
          Method getCipherReference
 CipherValue getCipherValue()
          Method getCipherValue
 boolean isCipherReference()
          Method isCipherReference
 boolean isCipherValue()
          Method isCipherValue
 boolean isNotYetFilled()
          Method isNotYetFilled
 void setCipherReference(CipherReference cipherReference)
          Method setCipherReference
 void setCipherValue(CipherValue cipherValue)
          Method setCipherValue
 
Methods inherited from class org.apache.xml.security.utils.EncryptionElementProxy
getBaseNamespace
 
Methods inherited from class org.apache.xml.security.utils.ElementProxy
addBase64Element, addBase64Text, addBigIntegerElement, addText, addTextElement, createElementForFamily, getBaseURI, getBigIntegerFromChildElement, getBytesFromChildElement, getBytesFromTextChild, getChildElementLocalName, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getTextFromChildElement, getTextFromTextChild, guaranteeThatElementInCorrectSpace, length, setDefaultPrefix, setElement, setXPathNamespaceContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CipherData

public CipherData(org.w3c.dom.Document doc)
Constructor CipherData

Parameters:
doc -

CipherData

public CipherData(org.w3c.dom.Document doc,
                  CipherValue cipherValue)
Constructor CipherData

Parameters:
doc -
cipherValue -

CipherData

public CipherData(org.w3c.dom.Document doc,
                  CipherReference cipherReference)
Constructor CipherData

Parameters:
doc -
cipherReference -

CipherData

public CipherData(org.w3c.dom.Document doc,
                  byte[] ciphertext)
           throws XMLSecurityException
Constructor CipherData

Parameters:
doc -
ciphertext -
Throws:
XMLSecurityException

CipherData

public CipherData(org.w3c.dom.Element element,
                  java.lang.String BaseURI)
           throws XMLSecurityException
Constructor CipherData

Parameters:
element -
BaseURI -
Throws:
XMLSecurityException
Method Detail

getCipherValue

public CipherValue getCipherValue()
                           throws XMLSecurityException
Method getCipherValue

Throws:
XMLSecurityException

getCipherReference

public CipherReference getCipherReference()
                                   throws XMLSecurityException
Method getCipherReference

Throws:
XMLSecurityException

isCipherValue

public boolean isCipherValue()
Method isCipherValue


isCipherReference

public boolean isCipherReference()
Method isCipherReference


isNotYetFilled

public boolean isNotYetFilled()
Method isNotYetFilled


setCipherValue

public void setCipherValue(CipherValue cipherValue)
                    throws XMLSecurityException
Method setCipherValue

Parameters:
cipherValue -
Throws:
XMLSecurityException

setCipherReference

public void setCipherReference(CipherReference cipherReference)
                        throws XMLSecurityException
Method setCipherReference

Parameters:
cipherReference -
Throws:
XMLSecurityException

getBaseLocalName

public java.lang.String getBaseLocalName()
Description copied from class: ElementProxy
Returns the localname of the Elements of the sub-class.

Specified by:
getBaseLocalName in class ElementProxy
Returns:
the localname of the Elements of the sub-class.