Class CipherDataImpl
- java.lang.Object
-
- org.opensaml.core.xml.AbstractXMLObject
-
- org.opensaml.xmlsec.encryption.impl.CipherDataImpl
-
- All Implemented Interfaces:
XMLObject,CipherData
public class CipherDataImpl extends AbstractXMLObject implements CipherData
Concrete implementation ofCipherData.
-
-
Field Summary
Fields Modifier and Type Field Description private CipherReferencecipherReferenceCipherReference child element.private CipherValuecipherValueCipherValue child element.-
Fields inherited from interface org.opensaml.xmlsec.encryption.CipherData
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCipherDataImpl(String namespaceURI, String elementLocalName, String namespacePrefix)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CipherReferencegetCipherReference()Get the CipherReference which points to the location encrypted data.CipherValuegetCipherValue()Get the base64-encoded data representing 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.voidsetCipherReference(CipherReference newCipherReference)Get the CipherReference which points to the location encrypted data.voidsetCipherValue(CipherValue newCipherValue)Set the base64-encoded data representing the encrypted form of the plaintext data.-
Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, 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.core.xml.XMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
-
-
-
Field Detail
-
cipherValue
private CipherValue cipherValue
CipherValue child element.
-
cipherReference
private CipherReference cipherReference
CipherReference child element.
-
-
Method Detail
-
getCipherValue
public CipherValue getCipherValue()
Get the base64-encoded data representing the encrypted form of the plaintext data.- Specified by:
getCipherValuein interfaceCipherData- Returns:
- base64-encoded encrypted value
-
setCipherValue
public void setCipherValue(CipherValue newCipherValue)
Set the base64-encoded data representing the encrypted form of the plaintext data.- Specified by:
setCipherValuein interfaceCipherData- Parameters:
newCipherValue- the new base64-encoded encrypted data
-
getCipherReference
public CipherReference getCipherReference()
Get the CipherReference which points to the location encrypted data.- Specified by:
getCipherReferencein interfaceCipherData- 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:
setCipherReferencein interfaceCipherData- 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:
getOrderedChildrenin interfaceXMLObject- Returns:
- ordered list of child elements
-
-