com.jcraft.jsch
Class HostKey
java.lang.Object
com.jcraft.jsch.HostKey
public class HostKey
- extends Object
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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
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.