com.sshtools.j2ssh.transport.publickey
Class SshPublicKeyFormatFactory
java.lang.Object
com.sshtools.j2ssh.transport.publickey.SshPublicKeyFormatFactory
public class SshPublicKeyFormatFactory
- extends java.lang.Object
- Version:
- $Revision: 1.1 $
- Author:
- $author$
Field Summary |
private static java.lang.String |
defaultFormat
|
private static java.util.HashMap |
formatTypes
|
private static org.apache.commons.logging.Log |
log
|
private static java.util.Vector |
types
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultFormat
private static java.lang.String defaultFormat
formatTypes
private static java.util.HashMap formatTypes
log
private static org.apache.commons.logging.Log log
types
private static java.util.Vector types
SshPublicKeyFormatFactory
public SshPublicKeyFormatFactory()
getSupportedFormats
public static java.util.List getSupportedFormats()
- Returns:
newInstance
public static SshPublicKeyFormat newInstance(java.lang.String type)
throws InvalidSshKeyException
- Parameters:
type
-
- Returns:
-
- Throws:
InvalidSshKeyException
getDefaultFormatType
public static java.lang.String getDefaultFormatType()
- Returns: