Class HostKey

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

public class HostKey
extends java.lang.Object
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected java.lang.String comment  
    static int ECDSA256  
    static int ECDSA384  
    static int ECDSA521  
    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 Summary

    Constructors 
    Constructor 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)  
  • Method Summary

    Modifier and Type Method 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 int name2type​(java.lang.String name)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait