Class RSAKeyValueImpl

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

public class RSAKeyValueImpl
extends AbstractXMLObject
implements RSAKeyValue
Concrete implementation of RSAKeyValue.
  • Field Details

    • modulus

      private Modulus modulus
      Modulus child element value.
    • exponent

      private Exponent exponent
      Exponent child element value.
  • Constructor Details

    • RSAKeyValueImpl

      protected RSAKeyValueImpl​(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

    • getModulus

      public Modulus getModulus()
      Get the Modulus child element.
      Specified by:
      getModulus in interface RSAKeyValue
      Returns:
      the Modulus child element
    • setModulus

      public void setModulus​(Modulus newModulus)
      Set the Modulus child element.
      Specified by:
      setModulus in interface RSAKeyValue
      Parameters:
      newModulus - the new Modulus child element
    • getExponent

      public Exponent getExponent()
      Get the Exponent child element.
      Specified by:
      getExponent in interface RSAKeyValue
      Returns:
      the Exponent child element
    • setExponent

      public void setExponent​(Exponent newExponent)
      Set the Exponent child element.
      Specified by:
      setExponent in interface RSAKeyValue
      Parameters:
      newExponent - the new Exponent 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