Package org.apache.ws.security
Class WSDocInfo
java.lang.Object
org.apache.ws.security.WSDocInfo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Clears the info data except the hash codeGet a BinarySecurityToken for the given Idint
getHash()
org.apache.ws.security.processor.Processor
getProcessor
(String id) Get a Processor for the given Idvoid
setAssertion
(Element assertion) void
void
void
setProcessor
(org.apache.ws.security.processor.Processor p) Store a Processor for later access.
-
Constructor Details
-
WSDocInfo
public WSDocInfo(int hash)
-
-
Method Details
-
clear
public void clear()Clears the info data except the hash code -
getBst
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
-
getProcessor
Get a Processor for the given Id- Parameters:
id
- is the Id to look for- Returns:
- the Security processor identified with this Id or null if nothing found
-
setProcessor
public void setProcessor(org.apache.ws.security.processor.Processor p) Store a Processor for later access.- Parameters:
p
- is the Processor to store
-
getCrypto
- Returns:
- the signature crypto class used to process the signature/verfiy
-
getHash
public int getHash()- Returns:
- the hash value of the document
-
setBst
- Parameters:
elem
- is the BinarySecurityToken to store
-
setCrypto
- Parameters:
crypto
- is the signature crypto class used to process signature/verify
-
getAssertion
- Returns:
- Returns the assertion.
-
setAssertion
- Parameters:
assertion
- The assertion to set.
-