org.apache.rahas
Class RahasData
java.lang.Object
org.apache.rahas.RahasData
public class RahasData
- extends java.lang.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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
getAppliesToAddress
public java.lang.String getAppliesToAddress()
- Returns:
- Returns the appliesToAddress.
getClientCert
public java.security.cert.X509Certificate getClientCert()
- Returns:
- Returns the clientCert.
getComputedKeyAlgo
public java.lang.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 java.lang.String getKeyType()
- Returns:
- Returns the keyType.
getPrincipal
public java.security.Principal getPrincipal()
- Returns:
- Returns the principal.
getRequestEntropy
public byte[] getRequestEntropy()
- Returns:
- Returns the requestEntropy.
getRequestType
public java.lang.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 java.lang.String getTokenType()
- Returns:
- Returns the tokenType.
getVersion
public int getVersion()
- Returns:
- Returns the version.
getAddressingNs
public java.lang.String getAddressingNs()
- Returns:
- Returns the addressingNs.
getWstNs
public java.lang.String getWstNs()
- Returns:
- Returns the wstNs.
getSoapNs
public java.lang.String getSoapNs()
- Returns:
- Returns the soapNs.
getTokenId
public java.lang.String getTokenId()
- Returns:
- Returns the tokenId.
setResponseEntropy
public void setResponseEntropy(byte[] responseEntropy)
- Parameters:
responseEntropy
- The responseEntropy to set.
setEphmeralKey
public void setEphmeralKey(byte[] ephmeralKey)
- Parameters:
ephmeralKey
- The ephmeralKey to set.
getClaimDialect
public java.lang.String getClaimDialect()
getClaimElem
public org.apache.axiom.om.OMElement getClaimElem()
getAppliesToEpr
public org.apache.axiom.om.OMElement getAppliesToEpr()