com.jcraft.jsch

Class HostKey


public class HostKey
extends java.lang.Object

Field Summary

static int
SSHDSS
static int
SSHRSA

Constructor Summary

HostKey(String host, byte[] key)

Method Summary

String
getFingerPrint(JSch jsch)
String
getHost()
String
getKey()
String
getType()

Field Details

SSHDSS

public static final int SSHDSS
Field Value:
0

SSHRSA

public static final int SSHRSA
Field Value:
1

Constructor Details

HostKey

public HostKey(String host,
               byte[] key)
            throws JSchException

Method Details

getFingerPrint

public String getFingerPrint(JSch jsch)

getHost

public String getHost()

getKey

public String getKey()

getType

public String getType()