Package org.apache.rahas
Class RahasData
java.lang.Object
org.apache.rahas.RahasData
Common data items on WS-Trust request messages
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.axiom.om.OMElement
org.apache.axiom.om.OMElement
byte[]
org.apache.axis2.context.MessageContext
int
Deprecated.As of Rampart 1.7.int
// TODO changes this keytype to an enumerationbyte[]
byte[]
org.apache.axiom.om.OMElement
int
getWstNs()
void
setAssertionCreatedDate
(Date assertionCreatedDate) void
setAssertionExpiringDate
(Date assertionExpiringDate) void
setEphmeralKey
(byte[] ephmeralKey) void
setInMessageContext
(org.apache.axis2.context.MessageContext context) Sets the given message context as in message context.void
setKeySize
(int size) Sets the key size.void
setResponseEntropy
(byte[] responseEntropy)
-
Constructor Details
-
RahasData
Create a new RahasData instance and populate it with the information from the request.- Throws:
TrustException
-RequestSecurityToken
element is invalid.
-
RahasData
public RahasData()
-
-
Method Details
-
getAppliesToAddress
- Returns:
- Returns the appliesToAddress.
-
getClientCert
- Returns:
- Returns the clientCert.
-
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.
-
setInMessageContext
public void setInMessageContext(org.apache.axis2.context.MessageContext context) Sets the given message context as in message context.- Parameters:
context
- The message context.
-
getKeysize
Deprecated.As of Rampart 1.7. UsegetKeySize
.- Returns:
- Returns the keysize.
-
getKeySize
public int getKeySize()- Returns:
- Returns the keySize.
-
setKeySize
public void setKeySize(int size) Sets the key size.- Parameters:
size
- Size of the key.
-
getKeyType
// TODO changes this keytype to an enumeration- Returns:
- Returns the keyType.
-
getPrincipal
- Returns:
- Returns the principal.
-
getRequestEntropy
public byte[] getRequestEntropy()- Returns:
- Returns the requestEntropy.
-
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
- Returns:
- Returns the tokenType.
-
getVersion
public int getVersion()- Returns:
- Returns the version.
-
getAddressingNs
- Returns:
- Returns the addressingNs.
-
getWstNs
- Returns:
- Returns the wstNs.
-
getSoapNs
- Returns:
- Returns the soapNs.
-
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
-
getClaimElem
public org.apache.axiom.om.OMElement getClaimElem() -
getAppliesToEpr
public org.apache.axiom.om.OMElement getAppliesToEpr() -
getAssertionCreatedDate
-
setAssertionCreatedDate
-
getAssertionExpiringDate
-
setAssertionExpiringDate
-