com.jcraft.jsch
Class HostKey
java.lang.Object
com.jcraft.jsch.HostKey
public class HostKey
- extends java.lang.Object
|
Field Summary |
(package private) java.lang.String |
host
|
(package private) byte[] |
key
|
static int |
SSHDSS
|
static int |
SSHRSA
|
(package private) int |
type
|
(package private) static int |
UNKNOWN
|
|
Constructor Summary |
HostKey(java.lang.String host,
byte[] key)
|
HostKey(java.lang.String host,
int type,
byte[] key)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SSHDSS
public static final int SSHDSS
- See Also:
- Constant Field Values
SSHRSA
public static final int SSHRSA
- See Also:
- Constant Field Values
UNKNOWN
static final int UNKNOWN
- See Also:
- Constant Field Values
host
java.lang.String host
type
int type
key
byte[] key
HostKey
public HostKey(java.lang.String host,
byte[] key)
throws JSchException
- Throws:
JSchException
HostKey
HostKey(java.lang.String host,
int type,
byte[] key)
getHost
public java.lang.String getHost()
getType
public java.lang.String getType()
getKey
public java.lang.String getKey()
getFingerPrint
public java.lang.String getFingerPrint(JSch jsch)
Copyright 2006 jcraft. All Rights Reserved.