public class HostKey
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
comment |
protected static int |
GUESS |
protected java.lang.String |
host |
protected byte[] |
key |
protected java.lang.String |
marker |
static int |
SSHDSS |
static int |
SSHRSA |
protected int |
type |
Constructor and Description |
---|
HostKey(java.lang.String host,
byte[] key) |
HostKey(java.lang.String host,
int type,
byte[] key) |
HostKey(java.lang.String host,
int type,
byte[] key,
java.lang.String comment) |
HostKey(java.lang.String marker,
java.lang.String host,
int type,
byte[] key,
java.lang.String comment) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getComment() |
java.lang.String |
getFingerPrint(JSch jsch) |
java.lang.String |
getHost() |
java.lang.String |
getKey() |
java.lang.String |
getMarker() |
java.lang.String |
getType() |
protected static final int GUESS
public static final int SSHDSS
public static final int SSHRSA
protected java.lang.String marker
protected java.lang.String host
protected int type
protected byte[] key
protected java.lang.String comment
public HostKey(java.lang.String host, byte[] key) throws JSchException
JSchException
public HostKey(java.lang.String host, int type, byte[] key) throws JSchException
JSchException
public HostKey(java.lang.String host, int type, byte[] key, java.lang.String comment) throws JSchException
JSchException
public HostKey(java.lang.String marker, java.lang.String host, int type, byte[] key, java.lang.String comment) throws JSchException
JSchException
public java.lang.String getHost()
public java.lang.String getType()
public java.lang.String getKey()
public java.lang.String getFingerPrint(JSch jsch)
public java.lang.String getComment()
public java.lang.String getMarker()