org.apache.ws.security
Class WSDocInfo
java.lang.Object
org.apache.ws.security.WSDocInfo
- public class WSDocInfo
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSDocInfo
public WSDocInfo(int hash)
clear
public void clear()
- Clears the info data except the hash code
getBst
public org.w3c.dom.Element getBst(java.lang.String uri)
- Get a BinarySecurityToken for the given Id
- Parameters:
uri
- is the relative uri (starts with #) of the id
- Returns:
- the BST element or null if nothing found
getCrypto
public Crypto getCrypto()
- Returns:
- the signature crypto class used to process
the signature/verfiy
getHash
public int getHash()
- Returns:
- the hash value of the document
setBst
public void setBst(org.w3c.dom.Element elem)
- Parameters:
elem
- is the BinarySecurityToken to store
setCrypto
public void setCrypto(Crypto crypto)
- Parameters:
crypto
- is the signature crypto class used to
process signature/verify
getAssertion
public org.w3c.dom.Element getAssertion()
- Returns:
- Returns the assertion.
setAssertion
public void setAssertion(org.w3c.dom.Element assertion)
- Parameters:
assertion
- The assertion to set.