Class SessionKeyImpl

java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.saml.ext.samlec.impl.SessionKeyImpl
All Implemented Interfaces:
XMLObject, SAMLObject, SessionKey, ActorBearing, MustUnderstandBearing

public class SessionKeyImpl extends AbstractXMLObject implements SessionKey
Concrete implementation of SessionKey.
  • Field Details

    • soap11Actor

      private String soap11Actor
      soap11:actor attribute.
    • soap11MustUnderstand

      private XSBooleanValue soap11MustUnderstand
      soap11:mustUnderstand.
    • algorithm

      private String algorithm
      Algorithm attribute.
    • encTypes

      private XMLObjectChildrenList<EncType> encTypes
      EncType children.
    • keyInfo

      private KeyInfo keyInfo
      KeyInfo child.
  • Constructor Details

    • SessionKeyImpl

      protected SessionKeyImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
      Constructor.
      Parameters:
      namespaceURI - the namespace the element is in
      elementLocalName - the local name of the XML element this Object represents
      namespacePrefix - the prefix for the given namespace
  • Method Details

    • isSOAP11MustUnderstand

      public Boolean isSOAP11MustUnderstand()
      Get the attribute value.
      Specified by:
      isSOAP11MustUnderstand in interface MustUnderstandBearing
      Returns:
      return the attribute vlue
    • isSOAP11MustUnderstandXSBoolean

      public XSBooleanValue isSOAP11MustUnderstandXSBoolean()
      Get the attribute value.
      Specified by:
      isSOAP11MustUnderstandXSBoolean in interface MustUnderstandBearing
      Returns:
      return the attribute vlue
    • setSOAP11MustUnderstand

      public void setSOAP11MustUnderstand(Boolean newMustUnderstand)
      Set the attribute value.
      Specified by:
      setSOAP11MustUnderstand in interface MustUnderstandBearing
      Parameters:
      newMustUnderstand - the new attribute value
    • setSOAP11MustUnderstand

      public void setSOAP11MustUnderstand(XSBooleanValue newMustUnderstand)
      Set the attribute value.
      Specified by:
      setSOAP11MustUnderstand in interface MustUnderstandBearing
      Parameters:
      newMustUnderstand - the new attribute value
    • getSOAP11Actor

      public String getSOAP11Actor()
      Get the attribute value.
      Specified by:
      getSOAP11Actor in interface ActorBearing
      Returns:
      return the attribute vlue
    • setSOAP11Actor

      public void setSOAP11Actor(String newActor)
      Set the attribute value.
      Specified by:
      setSOAP11Actor in interface ActorBearing
      Parameters:
      newActor - the new attribute value
    • getAlgorithm

      public String getAlgorithm()
      Get the session key derivation algorithm.
      Specified by:
      getAlgorithm in interface SessionKey
      Returns:
      the algorithm used to derive the session key
    • setAlgorithm

      public void setAlgorithm(String newAlgorithm)
      Set the session key derivation algorithm.
      Specified by:
      setAlgorithm in interface SessionKey
      Parameters:
      newAlgorithm - the algorithm used to derive the session key
    • getEncTypes

      public List<EncType> getEncTypes()
      Get the session key encryption typed.
      Specified by:
      getEncTypes in interface SessionKey
      Returns:
      the encryption types of the session key
    • getKeyInfo

      public KeyInfo getKeyInfo()
      Get the KeyInfo object that describes the session key.
      Specified by:
      getKeyInfo in interface SessionKey
      Returns:
      the KeyInfo object that describes the session key
    • setKeyInfo

      public void setKeyInfo(KeyInfo newKeyInfo)
      Set the KeyInfo object that describes the session key.
      Specified by:
      setKeyInfo in interface SessionKey
      Parameters:
      newKeyInfo - the KeyInfo object that describes the session key
    • 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