Class PBKDF2ParamsImpl

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

public class PBKDF2ParamsImpl extends AbstractXMLObject implements PBKDF2Params
Concrete implementation of PBKDF2Params.
  • Field Details

    • salt

      @Nullable private Salt salt
      Salt child element.
    • iterationCount

      @Nullable private IterationCount iterationCount
      IterationCount child element.
    • keyLength

      @Nullable private KeyLength keyLength
      KeyLength child element.
    • prf

      @Nullable private PRF prf
      PRF child element.
  • Constructor Details

    • PBKDF2ParamsImpl

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

    • getSalt

      @Nullable public Salt getSalt()
      Get the Salt child element.
      Specified by:
      getSalt in interface PBKDF2Params
      Returns:
      the element
    • setSalt

      public void setSalt(@Nullable Salt newSalt)
      Set the Salt child element.
      Specified by:
      setSalt in interface PBKDF2Params
      Parameters:
      newSalt - the salt
    • getIterationCount

      @Nullable public IterationCount getIterationCount()
      Get the IterationCount child element.
      Specified by:
      getIterationCount in interface PBKDF2Params
      Returns:
      the element
    • setIterationCount

      public void setIterationCount(@Nullable IterationCount count)
      Set the IterationCount child element.
      Specified by:
      setIterationCount in interface PBKDF2Params
      Parameters:
      count - the new iteration count
    • getKeyLength

      @Nullable public KeyLength getKeyLength()
      Get the KeyLength child element.
      Specified by:
      getKeyLength in interface PBKDF2Params
      Returns:
      the element
    • setKeyLength

      public void setKeyLength(@Nullable KeyLength length)
      Set the KeyLength child element.
      Specified by:
      setKeyLength in interface PBKDF2Params
      Parameters:
      length - the new key length
    • getPRF

      @Nullable public PRF getPRF()
      Get the PRF child element.
      Specified by:
      getPRF in interface PBKDF2Params
      Returns:
      the element
    • setPRF

      public void setPRF(@Nullable PRF newPRF)
      Set the PRF child element.
      Specified by:
      setPRF in interface PBKDF2Params
      Parameters:
      newPRF - the new PRF 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