public class WSDocInfo extends Object
Constructor and Description |
---|
WSDocInfo(org.w3c.dom.Document doc) |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the info data except the hash code
|
org.w3c.dom.Element |
getAssertion() |
org.w3c.dom.Element |
getBst(String uri)
Get a BinarySecurityToken for the given Id
|
Crypto |
getCrypto() |
org.w3c.dom.Document |
getDocument() |
Processor |
getProcessor(String id)
Get a Processor for the given Id
|
org.w3c.dom.Element |
getSecurityTokenReference(String uri)
Get a SecurityTokenReference for the given (wsu) Id
|
void |
setAssertion(org.w3c.dom.Element assertion) |
void |
setBst(org.w3c.dom.Element elem) |
void |
setCrypto(Crypto crypto) |
void |
setProcessor(Processor p)
Store a Processor for later access.
|
void |
setSecurityTokenReference(org.w3c.dom.Element securityTokenRef)
Set a SecurityTokenReference element.
|
public void setSecurityTokenReference(org.w3c.dom.Element securityTokenRef)
public org.w3c.dom.Element getSecurityTokenReference(String uri)
uri
- is the relative uri (starts with #) of the idpublic void clear()
public org.w3c.dom.Element getBst(String uri)
uri
- is the relative uri (starts with #) of the idpublic Processor getProcessor(String id)
id
- is the Id to look forpublic void setProcessor(Processor p)
p
- is the Processor to storepublic Crypto getCrypto()
public org.w3c.dom.Document getDocument()
public void setBst(org.w3c.dom.Element elem)
elem
- is the BinarySecurityToken to storepublic void setCrypto(Crypto crypto)
crypto
- is the signature crypto class used to
process signature/verifypublic org.w3c.dom.Element getAssertion()
public void setAssertion(org.w3c.dom.Element assertion)
assertion
- The assertion to set.Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.