com.jcraft.jsch
Class HostKey

java.lang.Object
  extended by 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)
           
 
Method Summary
 java.lang.String getFingerPrint(JSch jsch)
           
 java.lang.String getHost()
           
 java.lang.String getKey()
           
 java.lang.String getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

HostKey

public HostKey(java.lang.String host,
               byte[] key)
        throws JSchException
Throws:
JSchException

HostKey

HostKey(java.lang.String host,
        int type,
        byte[] key)
Method Detail

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.