org.apache.ws.security
Class WSDataRef
java.lang.Object
org.apache.ws.security.WSDataRef
public class WSDataRef
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSDataRef
public WSDataRef()
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
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.