com.sshtools.j2ssh.transport.hmac
Class SshHmacFactory
java.lang.Object
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultAlgorithm
private static java.lang.String defaultAlgorithm
macs
private static java.util.Map macs
log
private static org.apache.commons.logging.Log log
SshHmacFactory
protected SshHmacFactory()
- Creates a new SshHmacFactory object.
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