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

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

public class AlgoFactory
extends java.lang.Object

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 derivation algorithm
Throws:
ConversationException - If the specified algorithm is not available in default implementations


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.