|
||||||||||
| 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(org.w3c.dom.Document doc)
|
|
| Method Summary | |
|---|---|
void |
addProtectionElement(org.w3c.dom.Element element)
Deprecated. |
void |
addResult(WSSecurityEngineResult result)
Store a WSSecurityEngineResult for later retrieval. |
void |
addTokenElement(org.w3c.dom.Element element)
Store a token element for later retrieval. |
void |
addTokenElement(org.w3c.dom.Element element,
boolean checkMultipleElements)
Store a token element for later retrieval. |
void |
clear()
Clears the data stored in this object |
CallbackLookup |
getCallbackLookup()
|
Crypto |
getCrypto()
|
org.w3c.dom.Document |
getDocument()
|
org.w3c.dom.Element |
getProtectionElement(java.lang.String uri)
Deprecated. |
WSSecurityEngineResult |
getResult(java.lang.String uri)
Get a WSSecurityEngineResult for the given Id. |
WSSecurityEngineResult |
getResultByTag(java.lang.Integer tag,
java.lang.String uri)
Get a WSSecurityEngineResult of the given Integer tag for the given Id |
java.util.List<WSSecurityEngineResult> |
getResultsByTag(java.lang.Integer tag)
Get a list of WSSecurityEngineResults of the given Integer tag |
org.w3c.dom.Element |
getSecurityHeader()
|
org.w3c.dom.Element |
getTokenElement(java.lang.String uri)
Get a token Element for the given Id. |
void |
setCallbackLookup(CallbackLookup callbackLookup)
|
void |
setCrypto(Crypto crypto)
|
void |
setSecurityHeader(org.w3c.dom.Element securityHeader)
Sets the wsse header being processed |
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(org.w3c.dom.Document doc)
| Method Detail |
|---|
public void clear()
public void addTokenElement(org.w3c.dom.Element element)
throws WSSecurityException
element - is the token element to store
WSSecurityException
public void addTokenElement(org.w3c.dom.Element element,
boolean checkMultipleElements)
throws WSSecurityException
element - is the token element to storecheckMultipleElements - check for a previously stored element with the same Id.
WSSecurityExceptionpublic org.w3c.dom.Element getTokenElement(java.lang.String uri)
uri - is the (relative) uri of the id
public void setTokensOnContext(javax.xml.crypto.dom.DOMCryptoContext context)
context - public void addProtectionElement(org.w3c.dom.Element element)
element - is the protection element to storepublic org.w3c.dom.Element getProtectionElement(java.lang.String uri)
uri - is the (relative) uri of the id
public void addResult(WSSecurityEngineResult result)
result - is the WSSecurityEngineResult to storepublic WSSecurityEngineResult getResult(java.lang.String uri)
uri - is the (relative) uri of the id
public java.util.List<WSSecurityEngineResult> getResultsByTag(java.lang.Integer tag)
public WSSecurityEngineResult getResultByTag(java.lang.Integer tag,
java.lang.String uri)
public Crypto getCrypto()
public org.w3c.dom.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()
public org.w3c.dom.Element getSecurityHeader()
public void setSecurityHeader(org.w3c.dom.Element securityHeader)
securityHeader -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||