Class WSDataRef


  • public class WSDataRef
    extends Object
    • Constructor Detail

      • WSDataRef

        public WSDataRef()
    • Method Detail

      • getWsuId

        public String getWsuId()
        Returns:
        Id of the protected element
      • setWsuId

        public void setWsuId​(String wsuId)
        Parameters:
        wsuId - Id of the protected element
      • getName

        public QName getName()
        Returns:
        QName of the protected element
      • setName

        public void setName​(QName name)
        Parameters:
        name - QName of the protected element
      • setProtectedElement

        public void setProtectedElement​(Element element)
        Parameters:
        element - The protected DOM element to set
      • getProtectedElement

        public Element getProtectedElement()
        Returns:
        the protected DOM element
      • getXpath

        public String getXpath()
        Returns:
        the xpath
      • setXpath

        public void setXpath​(String xpath)
        Parameters:
        xpath - the xpath to set
      • isContent

        public boolean isContent()
        Returns:
        the content
      • setContent

        public void setContent​(boolean content)
        Parameters:
        content - the content to set
      • getAlgorithm

        public String getAlgorithm()
        Returns:
        the algorithm used for encryption/signature
      • setAlgorithm

        public void setAlgorithm​(String algo)
        Parameters:
        algo - algorithm used for encryption
      • getDigestAlgorithm

        public String getDigestAlgorithm()
        Returns:
        if this reference represents signed content, the digest algorithm applied to the content.
      • setDigestAlgorithm

        public void setDigestAlgorithm​(String digestAlgorithm)
        Parameters:
        digestAlgorithm - if this reference represents signed content, the digest algorithm applied to the content.
      • setTransformAlgorithms

        public void setTransformAlgorithms​(List<String> transformAlgorithms)
        Set the Transform algorithm URIs used to transform the element before digest
      • getTransformAlgorithms

        public List<String> getTransformAlgorithms()
        Get the Transform algorithm URIs used to transform the element before digest
      • isAttachment

        public boolean isAttachment()
      • setAttachment

        public void setAttachment​(boolean attachment)
      • getDigestValue

        public byte[] getDigestValue()
      • setDigestValue

        public void setDigestValue​(byte[] digestValue)
      • getEncryptedElement

        public Element getEncryptedElement()
      • setEncryptedElement

        public void setEncryptedElement​(Element encryptedElement)