Class DHKeyValueImpl

java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.xmlsec.encryption.impl.DHKeyValueImpl
All Implemented Interfaces:
XMLObject, DHKeyValue

public class DHKeyValueImpl
extends AbstractXMLObject
implements DHKeyValue
Concrete implementation of DHKeyValue.
  • Field Details

    • p

      private P p
      P child element.
    • q

      private Q q
      Q child element.
    • generator

      private Generator generator
      Generator child element.
    • publicChild

      private Public publicChild
      Public element.
    • seed

      private Seed seed
      seed child element.
    • pgenCounter

      private PgenCounter pgenCounter
      pgenCounter child element.
  • Constructor Details

    • DHKeyValueImpl

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

    • getP

      public P getP()
      Get the P child element.
      Specified by:
      getP in interface DHKeyValue
      Returns:
      the P child element
    • setP

      public void setP​(P newP)
      Set the P child element.
      Specified by:
      setP in interface DHKeyValue
      Parameters:
      newP - the new P child element
    • getQ

      public Q getQ()
      Get the Q child element.
      Specified by:
      getQ in interface DHKeyValue
      Returns:
      the Q child element
    • setQ

      public void setQ​(Q newQ)
      Set the Q child element.
      Specified by:
      setQ in interface DHKeyValue
      Parameters:
      newQ - the new Q child element
    • getGenerator

      public Generator getGenerator()
      Get the Generator child element.
      Specified by:
      getGenerator in interface DHKeyValue
      Returns:
      the Generator child element
    • setGenerator

      public void setGenerator​(Generator newGenerator)
      Set the G child element.
      Specified by:
      setGenerator in interface DHKeyValue
      Parameters:
      newGenerator - the new G child element
    • getPublic

      public Public getPublic()
      Get the Public element.
      Specified by:
      getPublic in interface DHKeyValue
      Returns:
      the Public element
    • setPublic

      public void setPublic​(Public newPublic)
      Set the Public element.
      Specified by:
      setPublic in interface DHKeyValue
      Parameters:
      newPublic - the new Public child element
    • getSeed

      public Seed getSeed()
      Get the seed element.
      Specified by:
      getSeed in interface DHKeyValue
      Returns:
      the seed element
    • setSeed

      public void setSeed​(Seed newSeed)
      Set the seed element.
      Specified by:
      setSeed in interface DHKeyValue
      Parameters:
      newSeed - new seed element
    • getPgenCounter

      public PgenCounter getPgenCounter()
      Get the pgenCounter element.
      Specified by:
      getPgenCounter in interface DHKeyValue
      Returns:
      the pgenCounter element
    • setPgenCounter

      public void setPgenCounter​(PgenCounter newPgenCounter)
      Set the pgenCounter element.
      Specified by:
      setPgenCounter in interface DHKeyValue
      Parameters:
      newPgenCounter - new pgenCounter 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