com.jcraft.jsch
Class HostKey

java.lang.Object
  extended by com.jcraft.jsch.HostKey

public class HostKey
extends Object


Field Summary
protected  String comment
           
protected static int GUESS
           
protected  String host
           
protected  byte[] key
           
protected  String marker
           
static int SSHDSS
           
static int SSHRSA
           
protected  int type
           
 
Constructor Summary
HostKey(String host, byte[] key)
           
HostKey(String host, int type, byte[] key)
           
HostKey(String host, int type, byte[] key, String comment)
           
HostKey(String marker, String host, int type, byte[] key, String comment)
           
 
Method Summary
 String getComment()
           
 String getFingerPrint(JSch jsch)
           
 String getHost()
           
 String getKey()
           
 String getMarker()
           
 String getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GUESS

protected static final int GUESS
See Also:
Constant Field Values

SSHDSS

public static final int SSHDSS
See Also:
Constant Field Values

SSHRSA

public static final int SSHRSA
See Also:
Constant Field Values

marker

protected String marker

host

protected String host

type

protected int type

key

protected byte[] key

comment

protected String comment
Constructor Detail

HostKey

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

HostKey

public HostKey(String host,
               int type,
               byte[] key)
        throws JSchException
Throws:
JSchException

HostKey

public HostKey(String host,
               int type,
               byte[] key,
               String comment)
        throws JSchException
Throws:
JSchException

HostKey

public HostKey(String marker,
               String host,
               int type,
               byte[] key,
               String comment)
        throws JSchException
Throws:
JSchException
Method Detail

getHost

public String getHost()

getType

public String getType()

getKey

public String getKey()

getFingerPrint

public String getFingerPrint(JSch jsch)

getComment

public String getComment()

getMarker

public String getMarker()


Copyright © 2014 JCraft,Inc.. All Rights Reserved.