org.apache.ws.sandbox.security.conversation.dkalgo
Class AlgoFactory

java.lang.Object
  extended byorg.apache.ws.sandbox.security.conversation.dkalgo.AlgoFactory

public class AlgoFactory
extends java.lang.Object

Version:
1.0
Author:
Ruchith Fernando

Constructor Summary
AlgoFactory()
           
 
Method Summary
static DerivationAlgorithm getInstance(java.lang.String algorithm)
          This gives a DerivationAlgorithm instance from the default set of algorithms provided
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlgoFactory

public AlgoFactory()
Method Detail

getInstance

public static DerivationAlgorithm getInstance(java.lang.String algorithm)
                                       throws ConversationException
This gives a DerivationAlgorithm instance from the default set of algorithms provided

Parameters:
algorithm - The algo identifier @see DeivationAlgorithm
Returns:
A derivatio algorithm
Throws:
ConversationException - If the specified algorithmis not available in default implementations


Copyright © 2004-2008 Apache Web Services. All Rights Reserved.