com.sshtools.j2ssh.transport.cipher
Class SshCipherFactory
java.lang.Object
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
SshCipherFactory
protected SshCipherFactory()
- Creates a new SshCipherFactory object.
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