org.apache.axis2.security.rahas
Class Util

java.lang.Object
  extended byorg.apache.axis2.security.rahas.Util

public class Util
extends Object


Constructor Summary
Util()
           
 
Method Summary
static org.apache.ws.security.components.crypto.Crypto getCryptoInstace(RahasConfiguration config)
          Returns the crypto instance of this configuration.
static void processRSTR(org.apache.axiom.om.OMElement rstr, RahasConfiguration config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
Method Detail

getCryptoInstace

public static org.apache.ws.security.components.crypto.Crypto getCryptoInstace(RahasConfiguration config)
                                                                        throws RahasException
Returns the crypto instance of this configuration. If one is not availabale then it will try to create a Crypto instance using available configuration information and will set it as the Crypto instance of the configuration.

Parameters:
config -
Returns:
Throws:
RahasException

processRSTR

public static void processRSTR(org.apache.axiom.om.OMElement rstr,
                               RahasConfiguration config)
                        throws Exception
Throws:
Exception