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 of CipherData.
  • Field Details

    • cipherValue

      private CipherValue cipherValue
      CipherValue child element.
    • cipherReference

      private CipherReference cipherReference
      CipherReference child element.
  • Constructor Details

    • CipherDataImpl

      protected CipherDataImpl​(String namespaceURI, String elementLocalName, String namespacePrefix)
      Constructor.
      Parameters:
      namespaceURI - namespace URI
      elementLocalName - local name
      namespacePrefix - namespace prefix
  • Method Details

    • getCipherValue

      public CipherValue getCipherValue()
      Get the base64-encoded data representing 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 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