org.apache.ws.sandbox.security.trust.message.token
Class RequestedProofToken
java.lang.Object
org.apache.ws.sandbox.security.trust.message.token.RequestedProofToken
- public class RequestedProofToken
- extends java.lang.Object
- Author:
- Dimuthu Leelarathne. (muthulee@yahoo.com), Ruchith Fernando
Field Summary |
static javax.xml.namespace.QName |
TOKEN
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TOKEN
public static final javax.xml.namespace.QName TOKEN
RequestedProofToken
public RequestedProofToken(org.w3c.dom.Document doc)
throws WSSecurityException
- Constructor.
- Parameters:
doc
- is the SOAP envelop.
- Throws:
WSSecurityException
RequestedProofToken
public RequestedProofToken(org.w3c.dom.Element elem)
throws WSSecurityException
- COnstructor
- Parameters:
elem
-
- Throws:
WSSecurityException
doDecryption
public void doDecryption(java.lang.String callback,
Crypto crypto)
throws WSSecurityException
- Method doDecryption
- Parameters:
callback
- crypto
-
- Throws:
WSSecurityException
doEncryptProof
public void doEncryptProof(org.w3c.dom.Document doc,
Crypto crypto,
java.lang.String userInfo)
throws WSSecurityException
- Method doEncryptProof
- Parameters:
doc
-
- Throws:
WSSecurityException
getElement
public org.w3c.dom.Element getElement()
setElement
public void setElement(org.w3c.dom.Element element)
toString
public java.lang.String toString()
addToken
public void addToken(org.w3c.dom.Element childToken)
removeToken
public void removeToken(org.w3c.dom.Element childToken)
getSharedSecret
public byte[] getSharedSecret()
- Returns:
setSharedSecret
public void setSharedSecret(byte[] bs)
- Parameters:
bs
-
build
public org.w3c.dom.Document build(org.w3c.dom.Document doc,
Crypto crypto,
java.lang.String user,
org.w3c.dom.Element parentNode)
throws WSSecurityException
- Throws:
WSSecurityException
Copyright © 2004-2008 Apache Web Services. All Rights Reserved.