com.sshtools.j2ssh.transport.cipher
Class SshCipherFactory

java.lang.Object
  extended by com.sshtools.j2ssh.transport.cipher.SshCipherFactory

public class SshCipherFactory
extends java.lang.Object

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

Field Summary
private static java.util.HashMap ciphers
           
private static java.lang.String defaultCipher
           
private static org.apache.commons.logging.Log log
           
private static java.util.ArrayList supported
           
 
Constructor Summary
protected SshCipherFactory()
          Creates a new SshCipherFactory object.
 
Method Summary
static java.lang.String getDefaultCipher()
           
static java.util.List getSupportedCiphers()
           
static void initialize()
           
static SshCipher newInstance(java.lang.String algorithmName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ciphers

private static java.util.HashMap ciphers

defaultCipher

private static java.lang.String defaultCipher

log

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

supported

private static java.util.ArrayList supported
Constructor Detail

SshCipherFactory

protected SshCipherFactory()
Creates a new SshCipherFactory object.

Method Detail

initialize

public static void initialize()

getDefaultCipher

public static java.lang.String getDefaultCipher()
Returns:

getSupportedCiphers

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

newInstance

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