Package com.jcraft.jsch
Class HostKey
- java.lang.Object
-
- com.jcraft.jsch.HostKey
-
public class HostKey extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getComment()
String
getFingerPrint(JSch jsch)
String
getHost()
String
getKey()
String
getMarker()
String
getType()
protected static int
name2type(String name)
-
-
-
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
-
ECDSA256
public static final int ECDSA256
- See Also:
- Constant Field Values
-
ECDSA384
public static final int ECDSA384
- See Also:
- Constant Field Values
-
ECDSA521
public static final int ECDSA521
- 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
-
-