org.apache.axis2.security.trust
Class TrustUtil

java.lang.Object
  extended byorg.apache.axis2.security.trust.TrustUtil

public class TrustUtil
extends Object


Constructor Summary
TrustUtil()
           
 
Method Summary
static org.apache.axiom.om.OMElement createBinarySecretElement(org.apache.axiom.om.OMElement parent, String type)
           
static org.apache.axiom.om.OMElement createEntropyElement(org.apache.axiom.om.OMElement parent)
           
static org.apache.axiom.om.OMElement createKeySizeElement(org.apache.axiom.om.OMElement parent)
           
static org.apache.axiom.om.OMElement createRequestedAttachedRef(org.apache.axiom.om.OMElement parent, String refUri, String refValueType)
           
static org.apache.axiom.om.OMElement createRequestedProofTokenElement(org.apache.axiom.om.OMElement parent)
           
static org.apache.axiom.om.OMElement createRequestedSecurityTokenElement(org.apache.axiom.om.OMElement parent)
           
static org.apache.axiom.om.OMElement createRequestedUnattachedRef(org.apache.axiom.om.OMElement parent, String refUri, String refValueType)
           
static org.apache.axiom.om.OMElement createRequestSecurityTokenResponseElement(org.apache.axiom.om.OMElement parent)
           
static Element createSecurityTokenReference(Document doc, String refUri, String refValueType)
          Create a wsse:Reference element with the given uri and the value type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrustUtil

public TrustUtil()
Method Detail

createSecurityTokenReference

public static Element createSecurityTokenReference(Document doc,
                                                   String refUri,
                                                   String refValueType)
Create a wsse:Reference element with the given uri and the value type

Parameters:
doc -
refUri -
refValueType -
Returns:

createRequestSecurityTokenResponseElement

public static org.apache.axiom.om.OMElement createRequestSecurityTokenResponseElement(org.apache.axiom.om.OMElement parent)

createRequestedSecurityTokenElement

public static org.apache.axiom.om.OMElement createRequestedSecurityTokenElement(org.apache.axiom.om.OMElement parent)

createRequestedProofTokenElement

public static org.apache.axiom.om.OMElement createRequestedProofTokenElement(org.apache.axiom.om.OMElement parent)

createEntropyElement

public static org.apache.axiom.om.OMElement createEntropyElement(org.apache.axiom.om.OMElement parent)

createBinarySecretElement

public static org.apache.axiom.om.OMElement createBinarySecretElement(org.apache.axiom.om.OMElement parent,
                                                                      String type)

createRequestedUnattachedRef

public static org.apache.axiom.om.OMElement createRequestedUnattachedRef(org.apache.axiom.om.OMElement parent,
                                                                         String refUri,
                                                                         String refValueType)

createRequestedAttachedRef

public static org.apache.axiom.om.OMElement createRequestedAttachedRef(org.apache.axiom.om.OMElement parent,
                                                                       String refUri,
                                                                       String refValueType)

createKeySizeElement

public static org.apache.axiom.om.OMElement createKeySizeElement(org.apache.axiom.om.OMElement parent)