org.opensaml.xml.encryption.impl
Class CipherDataImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.xml.encryption.impl.CipherDataImpl
All Implemented Interfaces:
CipherData, ValidatingXMLObject, XMLObject

public class CipherDataImpl
extends AbstractValidatingXMLObject
implements CipherData

Concrete implementation of CipherData.


Field Summary
 
Fields inherited from interface org.opensaml.xml.encryption.CipherData
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
 
Constructor Summary
protected CipherDataImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 CipherReference getCipherReference()
          Get the CipherReference which points to the location encrypted data.
 CipherValue getCipherValue()
          Get the base64-encoded data representing the the encrypted form of the plaintext data.
 List<XMLObject> getOrderedChildren()
          Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
 void setCipherReference(CipherReference newCipherReference)
          Get the CipherReference which points to the location encrypted data.
 void setCipherValue(CipherValue newCipherValue)
          Set the base64-encoded data representing the the encrypted form of the plaintext data.
 
Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate, validateChildren
 
Methods inherited from class org.opensaml.xml.AbstractXMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate
 
Methods inherited from interface org.opensaml.xml.XMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Constructor Detail

CipherDataImpl

protected CipherDataImpl(String namespaceURI,
                         String elementLocalName,
                         String namespacePrefix)
Constructor.

Parameters:
namespaceURI - namespace URI
elementLocalName - local name
namespacePrefix - namespace prefix
Method Detail

getCipherValue

public CipherValue getCipherValue()
Get the base64-encoded data representing the the encrypted form of the plaintext data.

Specified by:
getCipherValue in interface CipherData
Returns:
base64-encoded encrypted value

setCipherValue

public void setCipherValue(CipherValue newCipherValue)
Set the base64-encoded data representing the the encrypted form of the plaintext data.

Specified by:
setCipherValue in interface CipherData
Parameters:
newCipherValue - the new base64-encoded encrypted data

getCipherReference

public CipherReference getCipherReference()
Get the CipherReference which points to the location encrypted data.

Specified by:
getCipherReference in interface CipherData
Returns:
CipherReference child element representing the encrypted data

setCipherReference

public void setCipherReference(CipherReference newCipherReference)
Get the CipherReference which points to the location encrypted data.

Specified by:
setCipherReference in interface CipherData
Parameters:
newCipherReference - the new CipherReference child element

getOrderedChildren

public List<XMLObject> getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.

Specified by:
getOrderedChildren in interface XMLObject
Returns:
ordered list of child elements


Copyright © 2006-2011 Internet2. All Rights Reserved.