com.sshtools.j2ssh.transport.hmac
Class SshHmacFactory

java.lang.Object
  extended by com.sshtools.j2ssh.transport.hmac.SshHmacFactory

public class SshHmacFactory
extends java.lang.Object

Version:
$Revision: 1.1 $
Author:
$author$

Field Summary
private static java.lang.String defaultAlgorithm
           
private static org.apache.commons.logging.Log log
           
private static java.util.Map macs
           
 
Constructor Summary
protected SshHmacFactory()
          Creates a new SshHmacFactory object.
 
Method Summary
static java.lang.String getDefaultHmac()
           
static java.util.List getSupportedMacs()
           
static void initialize()
           
static SshHmac newInstance(java.lang.String methodName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultAlgorithm

private static java.lang.String defaultAlgorithm

macs

private static java.util.Map macs

log

private static org.apache.commons.logging.Log log
Constructor Detail

SshHmacFactory

protected SshHmacFactory()
Creates a new SshHmacFactory object.

Method Detail

initialize

public static void initialize()

getDefaultHmac

public static final java.lang.String getDefaultHmac()
Returns:

getSupportedMacs

public static java.util.List getSupportedMacs()
Returns:

newInstance

public static SshHmac newInstance(java.lang.String methodName)
                           throws AlgorithmNotSupportedException
Parameters:
methodName -
Returns:
Throws:
AlgorithmNotSupportedException