|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ws.security.WSDocInfo
public class WSDocInfo
Constructor Summary | |
---|---|
WSDocInfo(Document doc)
|
Method Summary | |
---|---|
void |
addProtectionElement(Element element)
Deprecated. |
void |
addResult(WSSecurityEngineResult result)
Store a WSSecurityEngineResult for later retrieval. |
void |
addTokenElement(Element element)
Store a token element for later retrieval. |
void |
addTokenElement(Element element,
boolean checkMultipleElements)
Store a token element for later retrieval. |
void |
clear()
Clears the data stored in this object |
CallbackLookup |
getCallbackLookup()
|
Crypto |
getCrypto()
|
Document |
getDocument()
|
Element |
getProtectionElement(String uri)
Deprecated. |
WSSecurityEngineResult |
getResult(String uri)
Get a WSSecurityEngineResult for the given Id. |
List<WSSecurityEngineResult> |
getResultsByTag(Integer tag)
Get a list of WSSecurityEngineResults of the given Integer tag |
Element |
getTokenElement(String uri)
Get a token Element for the given Id. |
void |
setCallbackLookup(CallbackLookup callbackLookup)
|
void |
setCrypto(Crypto crypto)
|
void |
setTokensOnContext(javax.xml.crypto.dom.DOMCryptoContext context)
Set all stored tokens on the DOMCryptoContext argument |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WSDocInfo(Document doc)
Method Detail |
---|
public void clear()
public void addTokenElement(Element element) throws WSSecurityException
element
- is the token element to store
WSSecurityException
public void addTokenElement(Element element, boolean checkMultipleElements) throws WSSecurityException
element
- is the token element to storecheckMultipleElements
- check for a previously stored element with the same Id.
WSSecurityException
public Element getTokenElement(String uri)
uri
- is the (relative) uri of the id
public void setTokensOnContext(javax.xml.crypto.dom.DOMCryptoContext context)
context
- public void addProtectionElement(Element element)
element
- is the protection element to storepublic Element getProtectionElement(String uri)
uri
- is the (relative) uri of the id
public void addResult(WSSecurityEngineResult result)
result
- is the WSSecurityEngineResult to storepublic WSSecurityEngineResult getResult(String uri)
uri
- is the (relative) uri of the id
public List<WSSecurityEngineResult> getResultsByTag(Integer tag)
public Crypto getCrypto()
public Document getDocument()
public void setCrypto(Crypto crypto)
crypto
- is the signature crypto class used to
process signature/verifypublic void setCallbackLookup(CallbackLookup callbackLookup)
callbackLookup
- The CallbackLookup object to retrieve elementspublic CallbackLookup getCallbackLookup()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |