com.jcraft.jsch

Class HostKey

public class HostKey extends Object

Field Summary
protected static intGUESS
protected Stringhost
protected byte[]key
static intSSHDSS
static intSSHRSA
protected inttype
Constructor Summary
HostKey(String host, byte[] key)
HostKey(String host, int type, byte[] key)
Method Summary
StringgetFingerPrint(JSch jsch)
StringgetHost()
StringgetKey()
StringgetType()

Field Detail

GUESS

protected static final int GUESS

host

protected String host

key

protected byte[] key

SSHDSS

public static final int SSHDSS

SSHRSA

public static final int SSHRSA

type

protected int type

Constructor Detail

HostKey

public HostKey(String host, byte[] key)

HostKey

public HostKey(String host, int type, byte[] key)

Method Detail

getFingerPrint

public String getFingerPrint(JSch jsch)

getHost

public String getHost()

getKey

public String getKey()

getType

public String getType()