Class KeyValueImpl

java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.xmlsec.signature.impl.KeyValueImpl
All Implemented Interfaces:
XMLObject, KeyValue

public class KeyValueImpl extends AbstractXMLObject implements KeyValue
Concrete implementation of KeyValue.
  • Field Details

    • dhKeyValue

      private DHKeyValue dhKeyValue
      DHKeyValue child element.
    • dsaKeyValue

      private DSAKeyValue dsaKeyValue
      DSAKeyValue child element.
    • rsaKeyValue

      private RSAKeyValue rsaKeyValue
      RSAKeyValue child element.
    • ecKeyValue

      private ECKeyValue ecKeyValue
      ECKeyValue child element.
    • unknownXMLObject

      private XMLObject unknownXMLObject
      Wildcard <any> XMLObject child element.
  • Constructor Details

    • KeyValueImpl

      protected KeyValueImpl(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

    • getDHKeyValue

      public DHKeyValue getDHKeyValue()
      Get the DHKeyValue child element.
      Specified by:
      getDHKeyValue in interface KeyValue
      Returns:
      DHKeyValue child element
    • setDHKeyValue

      public void setDHKeyValue(DHKeyValue newDHKeyValue)
      Set the DHKeyValue child element.
      Specified by:
      setDHKeyValue in interface KeyValue
      Parameters:
      newDHKeyValue - the new DHKeyValue child element
    • getDSAKeyValue

      public DSAKeyValue getDSAKeyValue()
      Get the DSAKeyValue child element.
      Specified by:
      getDSAKeyValue in interface KeyValue
      Returns:
      DSAKeyValue child element
    • setDSAKeyValue

      public void setDSAKeyValue(DSAKeyValue newDSAKeyValue)
      Set the DSAKeyValue child element.
      Specified by:
      setDSAKeyValue in interface KeyValue
      Parameters:
      newDSAKeyValue - the new DSAKeyValue child element
    • getRSAKeyValue

      public RSAKeyValue getRSAKeyValue()
      Get the RSAKeyValue child element.
      Specified by:
      getRSAKeyValue in interface KeyValue
      Returns:
      the RSAKeyValue child element
    • setRSAKeyValue

      public void setRSAKeyValue(RSAKeyValue newRSAKeyValue)
      Set the RSAKeyValue child element.
      Specified by:
      setRSAKeyValue in interface KeyValue
      Parameters:
      newRSAKeyValue - the new RSAKeyValue child element
    • getECKeyValue

      public ECKeyValue getECKeyValue()
      Get the ECKeyValue child element.
      Specified by:
      getECKeyValue in interface KeyValue
      Returns:
      the ECKeyValue child element
    • setECKeyValue

      public void setECKeyValue(ECKeyValue newECKeyValue)
      Set the ECKeyValue child element.
      Specified by:
      setECKeyValue in interface KeyValue
      Parameters:
      newECKeyValue - the new ECKeyValue child element
    • getUnknownXMLObject

      public XMLObject getUnknownXMLObject()
      Get the wildcard <any> XMLObject child element.
      Specified by:
      getUnknownXMLObject in interface KeyValue
      Returns:
      the wildcard XMLObject child element
    • setUnknownXMLObject

      public void setUnknownXMLObject(XMLObject newXMLObject)
      Set the wildcard <any> XMLObject child element.
      Specified by:
      setUnknownXMLObject in interface KeyValue
      Parameters:
      newXMLObject - the wildcard XMLObject 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