Class SigningMethodImpl

java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.saml.ext.saml2alg.impl.SigningMethodImpl
All Implemented Interfaces:
ElementExtensibleXMLObject, XMLObject, SAMLObject, SigningMethod

public class SigningMethodImpl extends AbstractXMLObject implements SigningMethod
Implementation of SigningMethod.
  • Field Details

    • unknownChildren

      private final IndexedXMLObjectChildrenList<XMLObject> unknownChildren
      Wildcard child elements.
    • algorithm

      private String algorithm
      Algorithm attribute value.
    • minKeySize

      private Integer minKeySize
      MinKeySize attribute value.
    • maxKeySize

      private Integer maxKeySize
      MaxKeySize attribute value.
  • Constructor Details

    • SigningMethodImpl

      public SigningMethodImpl(@Nullable String namespaceURI, @Nonnull String elementLocalName, @Nullable String namespacePrefix)
      Constructor.
      Parameters:
      namespaceURI - the namespace URI
      elementLocalName - the element local name
      namespacePrefix - the namespace prefix
  • Method Details

    • getAlgorithm

      @Nullable public String getAlgorithm()
      Get the value of the Algorithm URI attribute.
      Specified by:
      getAlgorithm in interface SigningMethod
      Returns:
      the algorithm URI
    • setAlgorithm

      public void setAlgorithm(@Nullable String newValue)
      Get the value of the Algorithm URI attribute.
      Specified by:
      setAlgorithm in interface SigningMethod
      Parameters:
      newValue - the algorithm URI
    • getMinKeySize

      @Nullable public Integer getMinKeySize()
      Get the value of the MinKeySize attribute.
      Specified by:
      getMinKeySize in interface SigningMethod
      Returns:
      the MinKeySize value
    • setMinKeySize

      public void setMinKeySize(@Nullable Integer newValue)
      Set the value of the MinKeySize attribute.
      Specified by:
      setMinKeySize in interface SigningMethod
      Parameters:
      newValue - the MinKeySize value
    • getMaxKeySize

      @Nullable public Integer getMaxKeySize()
      Get the value of the MaxKeySize attribute.
      Specified by:
      getMaxKeySize in interface SigningMethod
      Returns:
      the MaxKeySize value
    • setMaxKeySize

      public void setMaxKeySize(@Nullable Integer newValue)
      Set the value of the MaxKeySize attribute.
      Specified by:
      setMaxKeySize in interface SigningMethod
      Parameters:
      newValue - the MaxKeySize value
    • getUnknownXMLObjects

      public List<XMLObject> getUnknownXMLObjects()
      Gets the list of XMLObjects added to this XMLObject as part of the "any" content model.
      Specified by:
      getUnknownXMLObjects in interface ElementExtensibleXMLObject
      Returns:
      list of XMLObjects added to this XMLObject as part of the "any" content model
    • getUnknownXMLObjects

      public List<XMLObject> getUnknownXMLObjects(QName typeOrName)
      Gets the list of XMLObjects added to this XMLObject as part of the "any" content model, and which match the specified QName.
      Specified by:
      getUnknownXMLObjects in interface ElementExtensibleXMLObject
      Parameters:
      typeOrName - the QName of the statements to return
      Returns:
      list of XMLObjects added to this XMLObject as part of the "any" content model TODO: think this should be typed List<? extends XMLObject>
    • 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