org.apache.rahas
Class RahasData

java.lang.Object
  extended byorg.apache.rahas.RahasData

public class RahasData
extends Object

Common data items on WS-Trust request messages


Constructor Summary
RahasData(org.apache.axis2.context.MessageContext inMessageContext)
          Create a new RahasData instance and populate it with the information from the request.
 
Method Summary
 String getAddressingNs()
           
 String getAppliesToAddress()
           
 X509Certificate getClientCert()
           
 String getComputedKeyAlgo()
           
 byte[] getEphmeralKey()
           
 org.apache.axis2.context.MessageContext getInMessageContext()
           
 int getKeysize()
           
 String getKeyType()
           
 Principal getPrincipal()
           
 byte[] getRequestEntropy()
           
 String getRequestType()
           
 byte[] getResponseEntropy()
           
 org.apache.axiom.om.OMElement getRstElement()
           
 String getSoapNs()
           
 String getTokenType()
           
 int getVersion()
           
 String getWstNs()
           
 void setEphmeralKey(byte[] ephmeralKey)
           
 void setResponseEntropy(byte[] responseEntropy)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RahasData

public RahasData(org.apache.axis2.context.MessageContext inMessageContext)
          throws TrustException
Create a new RahasData instance and populate it with the information from the request.

Throws:
TrustException - RequestSecurityToken element is invalid.
Method Detail

getAppliesToAddress

public String getAppliesToAddress()
Returns:
Returns the appliesToAddress.

getClientCert

public X509Certificate getClientCert()
Returns:
Returns the clientCert.

getComputedKeyAlgo

public String getComputedKeyAlgo()
Returns:
Returns the computedKeyAlgo.

getEphmeralKey

public byte[] getEphmeralKey()
Returns:
Returns the ephmeralKey.

getInMessageContext

public org.apache.axis2.context.MessageContext getInMessageContext()
Returns:
Returns the inMessageContext.

getKeysize

public int getKeysize()
Returns:
Returns the keysize.

getKeyType

public String getKeyType()
Returns:
Returns the keyType.

getPrincipal

public Principal getPrincipal()
Returns:
Returns the principal.

getRequestEntropy

public byte[] getRequestEntropy()
Returns:
Returns the requestEntropy.

getRequestType

public String getRequestType()
Returns:
Returns the requestType.

getResponseEntropy

public byte[] getResponseEntropy()
Returns:
Returns the responseEntropy.

getRstElement

public org.apache.axiom.om.OMElement getRstElement()
Returns:
Returns the rstElement.

getTokenType

public String getTokenType()
Returns:
Returns the tokenType.

getVersion

public int getVersion()
Returns:
Returns the version.

getAddressingNs

public String getAddressingNs()
Returns:
Returns the addressingNs.

getWstNs

public String getWstNs()
Returns:
Returns the wstNs.

getSoapNs

public String getSoapNs()
Returns:
Returns the soapNs.

setResponseEntropy

public void setResponseEntropy(byte[] responseEntropy)
Parameters:
responseEntropy - The responseEntropy to set.

setEphmeralKey

public void setEphmeralKey(byte[] ephmeralKey)
Parameters:
ephmeralKey - The ephmeralKey to set.